Forum Discussion
Martin Skovgaard
May 02, 2017Copper Contributor
SFTP Azure
Hi. I have created an instance of a Virtual Machine on Azure. It is Microsoft Server 2016. I need to configure it for SFTP. Can any of you guide me to a "how-to" on this matter? I have been able...
Peter McDonald
May 09, 2017Iron Contributor
Hi Martin,
Below is part of a guide from here: https://winscp.net/eng/docs/guide_azure_ftps_server
On the Network interfaces page of your virtual machine, select its network interface.
On the Network security group page of the network interface, select its security group.
Create security rule for the FTP control connection:
On the Inbound security rules page of the security group, click Add in the top bar.
Type “FTP” in the Name box.
Select the FTP in the Service field.
Click the OK button and wait for the rule to be created.
Create security rule for FTP data connections according to the range you specified when setting up the FTP server:
On the Inbound security rules page of the security group, click Add in the top bar.
Type “FTP-data” in the Name box.
Keep the Custom in the Service field.
Type port range in a format min-max (e.g. 5000-5100) in the Port range box.
Click the OK button and wait for the rule to be created.
If you have multiple virtual machines running an FTP server, you can reuse the configured network security group.
Kind regards,
Peter
Below is part of a guide from here: https://winscp.net/eng/docs/guide_azure_ftps_server
On the Network interfaces page of your virtual machine, select its network interface.
On the Network security group page of the network interface, select its security group.
Create security rule for the FTP control connection:
On the Inbound security rules page of the security group, click Add in the top bar.
Type “FTP” in the Name box.
Select the FTP in the Service field.
Click the OK button and wait for the rule to be created.
Create security rule for FTP data connections according to the range you specified when setting up the FTP server:
On the Inbound security rules page of the security group, click Add in the top bar.
Type “FTP-data” in the Name box.
Keep the Custom in the Service field.
Type port range in a format min-max (e.g. 5000-5100) in the Port range box.
Click the OK button and wait for the rule to be created.
If you have multiple virtual machines running an FTP server, you can reuse the configured network security group.
Kind regards,
Peter
Martin Skovgaard
May 31, 2017Copper Contributor
Hi Peter
Sorry for the late reply. Thank you for your link to the guide.
Unfortunately the guide describes ftps access where I am interested in the sftp which is slightly different.
I can only see that sftp access is documented for Linux VM - but I want a Windows VM.
Any ideas about how to solve this?
Best regards
Martin