Skip to content

Commit

Permalink
Merge pull request #37 from hostingbydesign/jiiikoo-guestftp-1
Browse files Browse the repository at this point in the history
Create guestftp.mdx
  • Loading branch information
khnielsen authored Sep 9, 2024
2 parents ac60492 + 291a148 commit 00f28ad
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/dedicated-servers/getting-started/guestftp.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
id: guestftp
title: Setting up Guest FTP
sidebar_label: guestftp
---

## Setting up a Guest FTP Service

First, you have to elevate to root user with `sudo su -` and then inputting your password.

When you’re root, you need to download the GuestFTP script: `wget https://hnielsen.eu/files/guestftp.sh`

Now you need to make the script executable with `chmod +x guestftp.sh`.

Once the file is executable, you can run it. The syntax for running is as follows. ./guestftp.sh username password /path/to/folder/

So for example to give username ”test”, with the password ”test” access to folder /home/test/test/, you would run the command as follows:
`./guestftp.sh test test /home/test/test/`

After the script has ran fully, you can check that the service is up and running with `service guest-ftp status` and it should say that the service is active.

0 comments on commit 00f28ad

Please sign in to comment.