WinSCP cannot connect to SFTP server

Advertisement

kclark-psgc
Joined:
Posts:
1
Location:
Okawville, IL

WinSCP cannot connect to SFTP server

I have just set up a new SFTP Site on our FTP server which is a Windows 2016 DataCenter server running IIS 10.

I can successfully connect to the server using the DOS ftp command utility (See attached screen shot)

When I try to connect using WinSCP, a connection is never made.

It goes
Searching for host...
Connecting to host...
And then responses with
Host is not communicating for more than 15 seconds. Still waiting...
Any idea why WinSCP wont connect??

Keith

Description: Screen shot of successful command line connection

Capture.PNG

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,686
Location:
Prague, Czechia

Re: WinSCP cannot connect to SFTP server

IIS does not support SFTP. You have started an FTP server on an SSH/SFTP port 22. If that's what you really wanted to do (although it's wrong/confusing), you have to use FTP in WinSCP too. Just force WinSCP to use port 22. WinSCP will switch to SFTP, if you change port to 22. So you will have to first change protocol to FTP, then change port to 22 and then again change protocol to FTP.

Reply with quote

martin
Site Admin
martin avatar

Re: WinSCP cannot connect to SFTP server

@Ali: What part of my answer is not clear? What exactly did you try? What are you trying to achieve? Did you also start an FTP server on an SFTP port 22? Why?

Reply with quote

Advertisement

You can post new topics in this forum