Settings and Connection to SFTP OpenSSH on Windows Server 2025 DC
To ensure the VM operates correctly, you need to open TCP ports 21, 22, and 990 in the Security Group in AWS Firewall.
Connecting to the Server
- To connect to the Server, you should generate a “Private Key” in advance. This can be done using Guidance on usage. To connect to the virtual machine, click the Remote desktop file from step 10 of the Guidance on usage
- In the window that appears, enter the password from step 12 of the Guidance on usage and click OK.
- Check the box and click Yes.
- When connecting to the VM you need to run freeFTPd to add a new FTP user
- The following will be displayed:
Creating a new user
- To add SFTP users, go to the Users tab and click the Add button:
- In the user registration window enter Login.
Select Password stored as SHA1 hash in the drop-down list of the Authorization field,
Next, in the Password field, enter any user-friendly password and confirm it in the Password (again) field.
Disable the use of the FTP server and click Apply.
- After creating the necessary users, you need to go to the SFTP tab and start the service by clicking the Start button (Server status will become Running…)
- SFTP user folder is automatically created in the “C:\Program Files (x86)\freeFTPd\sftproot\” folder when a user connects to SFTP for the first time. You can transfer files in this folder, so a user can view them.
Server connection
- To connect to PureFTPd, it is recommended to use the “FileZilla Client” application (you can download it from the link: Download FileZilla Client for Windows (64bit x86)).
- When connecting to the ftp server, you need to follow these steps:
- In the <Host> field, enter the VM IP address
- In the <Username> field, enter the login that was created in paragraph 3 or the default user
- In the <Password> field, enter the password that was created in paragraph 3 or the default user password
- In the <Port> field, enter port 22
- When the data is entered, press Quickconnect
- After entering all the data and clicking on Quickconnect, you will successfully connect to the server.
Your clear and functional SFTP server is ready.
