Home

SFTP Azure

%3CLINGO-SUB%20id%3D%22lingo-sub-66365%22%20slang%3D%22en-US%22%3ESFTP%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-66365%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20created%20an%20instance%20of%20a%20Virtual%20Machine%20on%20Azure.%20It%20is%20Microsoft%20Server%202016.%20I%20need%20to%20configure%20it%20for%20SFTP.%20Can%20any%20of%20you%20guide%20me%20to%20a%20%22how-to%22%20on%20this%20matter%3F%20I%20have%20been%20able%20to%20create%20a%20FTP%20connection%20but%20not%20the%20SFTP.%20%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAfterwards%20I%20will%20need%20to%20be%20able%20to%20create%20many%20ftp%20accounts%2C%20and%20lock%20each%20account%20to%20their%20own%20specific%20folder%2C%20as%20well%20as%20have%20an%20admin%20account%20that%20can%20read%2Fwrite%20from%20any%20folder.%20Is%20that%20easy%20to%20set%20up%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CBR%20%2F%3EBr%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-66365%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIdentity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-74068%22%20slang%3D%22en-US%22%3ERe%3A%20SFTP%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-74068%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Peter%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20for%20the%20late%20reply.%20Thank%20you%20for%20your%20link%20to%20the%20guide.%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%20the%20guide%20describes%20ftps%20access%20where%20I%20am%20interested%20in%20the%20sftp%20which%20is%20slightly%20different.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20only%20see%20that%20sftp%20access%20is%20documented%20for%20Linux%20VM%20-%20but%20I%20want%20a%20Windows%20VM.%3C%2FP%3E%3CP%3EAny%20ideas%20about%20how%20to%20solve%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EMartin%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-68171%22%20slang%3D%22en-US%22%3ERe%3A%20SFTP%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68171%22%20slang%3D%22en-US%22%3EHi%20Martin%2C%3CBR%20%2F%3E%3CBR%20%2F%3EBelow%20is%20part%20of%20a%20guide%20from%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fwinscp.net%2Feng%2Fdocs%2Fguide_azure_ftps_server%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwinscp.net%2Feng%2Fdocs%2Fguide_azure_ftps_server%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOn%20the%20Network%20interfaces%20page%20of%20your%20virtual%20machine%2C%20select%20its%20network%20interface.%3CBR%20%2F%3EOn%20the%20Network%20security%20group%20page%20of%20the%20network%20interface%2C%20select%20its%20security%20group.%3CBR%20%2F%3ECreate%20security%20rule%20for%20the%20FTP%20control%20connection%3A%3CBR%20%2F%3EOn%20the%20Inbound%20security%20rules%20page%20of%20the%20security%20group%2C%20click%20Add%20in%20the%20top%20bar.%3CBR%20%2F%3EType%20%E2%80%9CFTP%E2%80%9D%20in%20the%20Name%20box.%3CBR%20%2F%3ESelect%20the%20FTP%20in%20the%20Service%20field.%3CBR%20%2F%3EClick%20the%20OK%20button%20and%20wait%20for%20the%20rule%20to%20be%20created.%3CBR%20%2F%3ECreate%20security%20rule%20for%20FTP%20data%20connections%20according%20to%20the%20range%20you%20specified%20when%20setting%20up%20the%20FTP%20server%3A%3CBR%20%2F%3EOn%20the%20Inbound%20security%20rules%20page%20of%20the%20security%20group%2C%20click%20Add%20in%20the%20top%20bar.%3CBR%20%2F%3EType%20%E2%80%9CFTP-data%E2%80%9D%20in%20the%20Name%20box.%3CBR%20%2F%3EKeep%20the%20Custom%20in%20the%20Service%20field.%3CBR%20%2F%3EType%20port%20range%20in%20a%20format%20min-max%20(e.g.%205000-5100)%20in%20the%20Port%20range%20box.%3CBR%20%2F%3EClick%20the%20OK%20button%20and%20wait%20for%20the%20rule%20to%20be%20created.%3CBR%20%2F%3EIf%20you%20have%20multiple%20virtual%20machines%20running%20an%20FTP%20server%2C%20you%20can%20reuse%20the%20configured%20network%20security%20group.%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%2C%3CBR%20%2F%3E%3CBR%20%2F%3EPeter%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-67974%22%20slang%3D%22en-US%22%3ERe%3A%20SFTP%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-67974%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Martin%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20i%20didnt%20understand%20your%20question%20was%20regarding%20the%20network%20aspect%20of%20azure.%3C%2FP%3E%3CP%3EWhat%20ports%20have%20you%20opened%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-67922%22%20slang%3D%22en-US%22%3ERe%3A%20SFTP%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-67922%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3BHi%20Kent%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20answer.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20be%20right.%20But%20I%20did%20already%20follow%20the%20description%20that%20you%20kindly%20provided%20me%20with%20as%20well%20but%20not%20able%20to%20get%20the%20connection%20working.%20I%20think%20my%20challenges%20are%20to%20open%20the%20right%20ports%20on%20the%20Azure%20side%20(get%20around%20the%20firewalls).%20That%20is%20something%20to%20be%20done%20on%20the%20Azure%20platform.%20That%20was%20the%20reason%20why%20i%20posted%20my%20question%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20continue%20my%20search%20for%20some%20help%20on%20this%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBr%3C%2FP%3E%3CP%3EMartin%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-67597%22%20slang%3D%22en-US%22%3ERe%3A%20SFTP%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-67597%22%20slang%3D%22en-US%22%3E%3CP%3EHej%20Martin%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyour%20question%20is%20not%20really%20Azure%20related%2C%20none%20the%20less%20i%20found%20you%20%3CA%20href%3D%22https%3A%2F%2Fwinscp.net%2Feng%2Fdocs%2Fguide_windows_ftps_server%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%3C%2FA%3E.%3C%2FP%3E%3CP%3EYou%20may%20find%20it%20easier%20to%20use%20a%203rd%20party%20tool%20like%20filezilla.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20hope%20you%20get%20it%20running.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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 to create a FTP connection but not the SFTP.  

 

Afterwards I will need to be able to create many ftp accounts, and lock each account to their own specific folder, as well as have an admin account that can read/write from any folder. Is that easy to set up? 

 

Thanks 


Br

5 Replies
Highlighted

Hej Martin

 

your question is not really Azure related, none the less i found you this.

You may find it easier to use a 3rd party tool like filezilla.

 

i hope you get it running.

Highlighted

 Hi Kent

 

Thank you for your answer. 

 

You might be right. But I did already follow the description that you kindly provided me with as well but not able to get the connection working. I think my challenges are to open the right ports on the Azure side (get around the firewalls). That is something to be done on the Azure platform. That was the reason why i posted my question here.

 

I would continue my search for some help on this issue.

 

Br

Martin 

 

Highlighted

Hi Martin

 

Sorry i didnt understand your question was regarding the network aspect of azure.

What ports have you opened ?

Highlighted
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
Highlighted

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 

Related Conversations