How to set up FTP on Azure VM

后端 未结 5 1169
梦如初夏
梦如初夏 2020-12-04 08:56

I need some help setting up FTP on my Azure VM instance.

The VM is Windows Server 2012 R2. I have set up the Web Server Role and created an FTP site in IIS. I have

5条回答
  •  猫巷女王i
    2020-12-04 09:07

    After straggling for a while with the 15-points list above, I got the message MS are trying to pass - "No (easy) FTP for you"...

    So I went back to the good-old & open Linux world - set up an SCP server using Cygwin. You even get a remote shell as a bonus...

    1) Run the Cygwin installer - https://cygwin.com/setup-x86.exe

    2) In 'Select Packages' search for

    • cygrunsrv (select the one under 'Admin')
    • openssh (select the one under 'Net)

    3) When done, start the Cygwin Terminal, and type:

    • ssh-host-config -y -pwd S0me-Str0ng-pa55w0rd

    • cygrunsrv -S sshd

    4) From the Azure VM add an SSH endpoint

    5) In Windows FireWall, add Inbound Rule for TCP port 22

    And viola - you can connect using WinSCP, Notepad++ and Putty of course...

    Notes:

    • Unix is case sensitive, so type your user in exact case, e.g. Administrator with capital A
    • Your drives are under /cygdrive (c:\ is at /cygdrive/c etc)

    Good luck!

提交回复
热议问题