The guide how to connect to Secure FTP Server
- After purchasing the virtual machine find the IP address of your VM in the personal account in Azure.
- To connect to the virtual machine you can use the PuTTY client (you can download it from the official site: https://www.putty.org/). When the app was started, you will see the following window:
- In the “Host Name (or IP address)” field you should enter the IP address of the virtual machine from the personal account in Azure. In the “Port” field enter the 22 value, select the “Connections type” – SSH and click on the “Open” button.
The following window will be opened:
- In the window above you should enter the login and password of the user of the virtual machine
(while typing the password, the data isn’t displayed!).
The examples of the basic ftp user management commands that can be entered after connecting in the PuTTY client:
== the creation of the user:
sudo ftpuseradd username
sudo ftpuseradd firstnamene.lastname
== the changing of the password for an existing user:
sudo passwd username
== the deletion of user:
sudo userdel username
== the blocking of user account:
sudo usermod -L username
== the unblocking of user account:
sudo usermod -U username
The ftp server itself is protected and ssh access and shell access are prohibited for ftp users, but allowed for the superuser.
- To connect to ftp, it is recommended to use the “FileZilla Client” application(you can download it from the link: https://filezilla-project.org/download.php?platform=win64). When launched, the application looks like this:
- In the “Host” field enter : sftp://ipvm , where ipvm is the address of your machine in the personal account in Azure.
In the “Username” field enter the user’s login of the virtual machine.
In the “Password” type the user’s password of the virtual machine.
When the data is entered click on “Quickconnect”.
Then you will see the next window:
In the Remote site area (on the right side of the application), the paths from the virtual machine are displayed, just below all the folders and files that are present in them are displayed. For all created ftp users in the home folder, by default, the file /etc/readme_first.txt is copied :
If you want, you can change the contents of this file (for example, to specify corporate rules for working with ftp server in it).