SSH错误:ssh_exchange_identification:远程主机

时间:2016-09-02 18:52:51

标签: windows ssh

我有一个托管在远程共享服务器上的网站。我在Windows上,正在尝试从Git Bash命令行SSH到我的主机。我通过cPanel创建了一个大小为4096的新RSA密钥并对其进行了授权。我下载了公钥和私钥,并将密钥添加到我的ssh配置文件中:

IdentityFile ~/.ssh/mykey_rsa

当我发出命令ssh -vvv user@something.com时,我收到错误。

OpenSSH_7.1p2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /c/Users/Me/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to something.com [174.37.199.18] port 22. debug1: Connection established. debug1: identity file /c/Users/Me/.ssh/id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Me/.ssh/id_rsa-cert type -1 debug1: identity file /c/Users/Me/.ssh/acquia_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Me/.ssh/acquia_rsa-cert type -1 debug1: identity file /c/Users/Me/.ssh/mykey_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Me/.ssh/mykey_rsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.1 ssh_exchange_identification: Connection closed by remote host

如何解决此问题?更重要的是,如果没有完整的基于Unix的命令行工具,我如何在Windows上这样做呢?基本上我的工具是Git Bash,Windows命令行,cPanel,我可以通过Filezilla或Windows命令行FTP到我的服务器。

0 个答案:

没有答案