我正在尝试使用我的 Windows 10 机器上的 ssh 连接到我的 GoDaddy Cpanel 服务器。我的 FileZilla、mobaxterm 和 putty 的常规选项都坏了。我发现的唯一调试方法是下面列出的。
C:\Users\Joshua>ssh -v 107.180.12.188
OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4
debug1: Connecting to 107.180.12.188 [107.180.12.188] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Joshua/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.6
ssh_exchange_identification: read: Connection reset
看起来您的服务器配置错误:首先检查您的 /etc/hosts.allow 和 /etc/hosts.deny
或者,如果您在服务器上设置了公钥,也请检查它们 - 也许它有问题。
也许您可以在以下位置找到更多信息:http ://edoceo.com/notabene/ssh-exchange-identification
mate 服务器在 ipv4 上监听吗?如果它只是 v6,它会重现你的错误
对比