这是一天,我不能通过SSHlogin到我的服务器。 使用腻子和MobaXterm。 MobaXterm结束于:
debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY Read from socket failed: Software caused connection abort
我search了这个问题,发现它可能是一个MTU特定的问题,但是如何突然失败login到不同的服务器呢?
这是我的debugging启用-v连接会话之一:
OpenSSH_6.7p1, OpenSSL 1.0.1g 7 Apr 2014 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to XXX.XXX.XXX.XXX [XXX.XXX.XXX.XXX] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file /var/keys/.5380.ssh type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/keys/.5380.ssh-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4+deb7u2 debug1: match: OpenSSH_6.0p1 Debian-4+deb7u2 pat OpenSSH* compat 0x04000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr [email protected] [email protected] debug1: kex: client->server aes128-ctr [email protected] [email protected] debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
它挂在这条线上,几秒钟后:
Read from socket failed: Software caused connection abort
我真的很感激任何帮助。
看起来像你在服务器/客户端上的SSH密钥有问题…看看https://askubuntu.com/questions/205179/ssh-problem-read-from-socket-failed-connection-reset- (略有不同的错误,但大部分的套接字错误是类似的故障排除明智..)
并清除已知的主机文件,当你尝试从笔记本电脑/桌面连接,例如MobaXterm,你必须导航到/home/mobaxterm/.ssh/known_hosts,并删除现有的条目..对于腻子检查此https://superuser.com/问题/ 197489 /哪里,做腻子店知名的主机信息,在窗口