Usage Guidelines – Ubuntu 22.04 Minimal with VSFTP Server

VSFTP SERVER

Ubuntu 22.04 Minimal

Configuring and connecting to Ubuntu 22.04 Minimal with VSFTP Server

To start the server, run the VM through Azure Portal.

  1. For connecting to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (Select the virtual machine from the list, click on “Overview,” and your IP is displayed in the “Public IP Address” line).
  1. To work, you must open ports 20, 21, 22, 990, 30000-50000 (TCP) in the network properties in the Azure firewall.
  1. To manage with a VSFTP server, you should connect to a VM.
    1. With OpenSSH

In the Windows 10 operating system (starting with version 1809), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command “ssh user@*vm_ip*” (1), where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.

Then type “Yes” (2) and enter a password (3) that was specified while creating the virtual machine.

  1. With the PuTTY application 

To do this, you need the PuTTY application to connect via SHH. You can download it at the following link – Download

Run PuTTY, enter the VM address in the “Host” field (1), and click “Open” (2) to connect.

In the opened console, you will need to enter a username (1) and password (2) that were specified while the VM was being created (you’ll not see the password in the console while entering it). 

  1. You can check the status of the VSFTP Server service using the command:

sudo service vsftpd status

  1. To connect VSFTP Server, you need to get login details using the command:

sudo cat /root/vsftp_credentials

  1. To create a new user and password to enter FileZilla – run the following command: sudo add_del_user

Next, enter 1 (1) and press ‘Enter’

Enter your username (2) and press ‘Enter’

Enter your password (3) and press ‘Enter’

Confirm your password (4) and press ‘Enter’

  1. To connect to the VSFTP Server, it is recommended to use the “FileZilla Client” application (you can download it from the link: Download FileZilla Client for Windows (64bit x86)).
  1. When connecting to the FTP server, you need to follow these steps:
  1. In the <Host> field, enter the VM IP address
  2. In the <Username> field, enter the login received in steps 5 or 6
  3. In the <Password> field, enter the password received in steps 5 or 6
  4. In the <Port> field, enter port 21
  5. When the data is entered, press Quickconnect
  1. You will successfully connect to the server after entering all the data and clicking on Quickconnect. 

Now you can work with your own VSFTP server.