Usage Guidelines – Debian 10 Minimal with SFTP – OpenSSH FTP Server

SFTP – OpenSSH FTP Server

Debian 10 Minimal

Configuration and Connection to Debian 10 Minimal with SFTP – OpenSSH FTP Server

  1. After purchasing and starting the VM, you should know its IP address. You can find it in the personal account of Azure. (You should select the virtual machine from the list. By clicking the item “Overview”, your IP would be displayed in the line “Public IP address”).
  1. To configure SFTP – OpenSSH FTP Server, you should connect to a VM with the PuTTY application

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

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

  1. 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. To add a new user, run the command: sudo su
  1. Next, you need to enter the command: addsftpuser and enter your username and password

Attention: The password has to be a maximum of 8 characters. If you enter a password with more than 8 characters, it will be shortened. While entering a password in the FTP client, only the first 8 characters will be taken.

  1. To connect to FTP, it is recommended to use the “FileZilla Client” application ( you can download it from the link: Download FileZilla Client for Windows (64bit x86). When launched, the application looks like this:
  1. In the “Host” field, enter the IP of your VM In the “Username” and “Password” fields, enter the data that you entered when creating a new user (see p.4) in the “Port” field enter ssh port – 22. When the data is entered, click on “Quickconnect”.
  1. The examples of the basic FTP user management commands that can be entered after connecting to the PuTTY client:
  • The changing of the password for an existing user: sudo passwd username
  • The deletion of the user: sudo delsftpuser
  • The blocking of user account: sudo usermod -L username
  • The unblocking of user account: sudo usermod -U username
  • You can find a directory with users along the path: /sftp/data/home/

The FTP server is secured, preventing FTP users from having SSH or shell access, although these privileges are granted to the superuser.

Use your own Debian 10 Minimal with SFTP – OpenSSH FTP Server with ease.