From 291a1480e9626ed7a1b1e711fffb720c8f8def52 Mon Sep 17 00:00:00 2001 From: jiiikoo <31279180+jiiikoo@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:00:07 +0300 Subject: [PATCH] Create guestftp.mdx Tutorial for setting up GuestFTP for Dedicated Machines. --- .../getting-started/guestftp.mdx | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/dedicated-servers/getting-started/guestftp.mdx diff --git a/docs/dedicated-servers/getting-started/guestftp.mdx b/docs/dedicated-servers/getting-started/guestftp.mdx new file mode 100644 index 0000000..cc85b9b --- /dev/null +++ b/docs/dedicated-servers/getting-started/guestftp.mdx @@ -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.