WinSCP:服务器拒绝SFTP连接,但它侦听FTP [英] WinSCP: The server rejected SFTP connection, but it listens for FTP

查看:3810
本文介绍了WinSCP:服务器拒绝SFTP连接,但它侦听FTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用WinSCP来下载使用FTP协议的文件。

I am using the WinSCP in order to download files using FTP protocol.

我在XML日志中遇到了这个错误。任何想法?

I got this error in the XML log. Any idea?


网络错误:连接到example.com拒绝了。
服务器拒绝了SFTP连接,但它监听FTP连接。

Network error: Connection to "example.com" refused. The server rejected SFTP connection, but it listens for FTP connections.

您是否想使用FTP协议而不是SFTP?优先使用
加密。

Did you want to use FTP protocol instead of SFTP? Prefer using encryption.


推荐答案

WinSCP默认使用SFTP协议,相反大多数使用FTP协议的其他文件传输客户端。

WinSCP uses SFTP protocol by default, contrary to most other file transfer clients, which use FTP protocol.

因此,当您尝试使用默认的SFTP协议连接到没有SSH / SFTP服务(没有打开端口22),但它有一个FTP服务(打开一个端口21),它表明你可能真的想要使用FTP。

For this reason, when you try to connect using the default SFTP protocol to a server that does not have an SSH/SFTP service (does not have a port 22 open), but it has an FTP service (a port 21 open), it suggests you that you might have actually wanted to use the FTP.

您需要在登录对话框中明确选择FTP协议:

https ://winscp.net/eng/docs/ui_login

You need to select the FTP protocol explicitly on Login dialog:
https://winscp.net/eng/docs/ui_login

有关详情:

https://winscp.net/eng/docs/message_server_rejected_sftp_listens_for_ftp

这篇关于WinSCP:服务器拒绝SFTP连接,但它侦听FTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆