我家里有个简单的SSH连接有点麻烦。
我在Ubuntu上安装了openSSH。我生成了rsa和dsa,但是这个ssh连接在等待一个我不明白的MSG包时停止了。我以前没有安装任何ip,并将其连接到我的网络,但我认为这不是问题所在。
OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to blue-house.servebeer.com [87.221.76.172] port 22.
debug1: Connection established.
debug1: identity file /home/miguel/.ssh/id_rsa type -1
debug1: identity file /home/miguel/.ssh/id_rsa-cert type -1
debug1: identity file /home/miguel/.ssh/id_dsa type -1
debug1: identity file /home/miguel/.ssh/id_dsa-cert type -1
debug1: identity file /home/miguel/.ssh/id_ecdsa type -1
debug1: identity file /home/miguel/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version dropbear_0.36
debug1: no match: dropbear_0.36
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.1p1 Debian-4
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
Read from socket failed: Connection reset by peer更新1:在我的路由器中有一些与dropbear_o.36相关的东西是非常古老的。
这里发布的图片显示,我没有问题直接连接到我的IP,而是用DNS (我已经设置了2、no-ip和freedns,但结果是一样的)。

我想我不能更新我的路由器固件anymore...What,我应该这样做吗?
发布于 2014-04-12 22:27:00
这解决了我类似的问题:
apt-get install putty-tools
plink admin@routerip
...
Server version: SSH-2.0-dropbear_0.46
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Local:_Aug_11_2013_21:26:51
Using Diffie-Hellman with standard group "group1"
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1040 d6:8f:96:ec:73:70:67:33:70:a7:52:a6:8a:2f:56:14
Initialised triple-DES CBC client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised triple-DES CBC server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "admin".
admin@10.1.0.150's password: https://askubuntu.com/questions/317176
复制相似问题