Hey everyone! I'm in a bit of a bind over here. I can't get WinSCP to connect to my server, which is crucial for me since I really enjoy its explorer-style interface for downloading files directly to my Windows folders. Here's the situation: I can ping the server and even connect using another SFTP client, but WinSCP just won't play nice. I've already checked a bunch of troubleshooting steps including verifying the correct IP and port, ensuring that SFTP is set up right, expanding the timeout, and even disabling the firewall.
The server was initially a CentOS/cPanel setup that won't boot, so the support team has me running off a rescue disk with Debian 9. I used WinSCP without issues before, and it's the client they recommended, but unfortunately, they can't help me troubleshoot the connection. I've also reached out to the WinSCP support team but haven't heard back. Any suggestions? Thanks a ton!
5 Answers
Since you have terminal access, consider setting up an FTP/SFTP on a different system. You can then use the SCP command in the terminal of the rescue server to get your files out. This might be a good alternative if WinSCP continues to be problematic.
Make sure you're connecting via SFTP over SSH. It could be a TLS configuration problem where WinSCP doesn’t support the same SSL/TLS ciphers as your other client. Also, have you tried selecting SCP as the protocol in WinSCP? Sometimes older protocols can bypass these issues.
What exact error message do you see when attempting to connect? Sometimes, even a simple message can provide hints about what's wrong. If it’s a timeout error, it might be a configuration issue with WinSCP rather than the server itself.
I get a network connection timeout message in WinSCP, even though everything works perfectly with Terminus.
It sounds like your server might not be fully operational since it won't boot. Did your provider put it in a recovery mode? If you can use a different SFTP client without any issues, you might want to stick with that for now. But if you really need WinSCP, take a look at your server's settings and see if there are any encryption settings that might be causing a problem. Also, remember that there are other solid SFTP clients out there like FileZilla and Bitvise SSH Client that might do the job well for you!
The server is on a Debian-based rescue disk, so I can connect through a program called Terminus just fine and issue commands. I'm just having trouble with the right SCP command to download files. That's why I'm leaning on WinSCP—it has a user-friendly interface that I used in the past.
Since you can connect with another client, I'd suspect a local configuration issue with WinSCP if that's the app you must use. Try going through its settings and make sure everything matches what works in your other client. You might also want to test connectivity using terminal commands like netcat or telnet just to be sure.

I did try switching to SCP, but WinSCP still wouldn't connect. I appreciate the advice though—luckily the host is backing up the files for me.