升级到ubuntu15.10之后,我无法通过pptp建立到服务器的ssh连接,但我可以从服务器到升级的pc建立ssh连接。在本地网络中,ssh工作得很好。另外,我的nfs挂载在一段时间后挂起,这也是通过pptp挂载的。我可以连接samba,ftp到我的服务器,我有ping到服务器。当我在pptp上尝试ssh时,这就是输出:
debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.88.100 [192.168.88.100] port 22.
debug1: Connection established.
debug1: identity file /home/rpr/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/rpr/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9p1 Ubuntu-2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2_hpn13v11 FreeBSD-20130515
debug1: match: OpenSSH_6.2_hpn13v11 FreeBSD-20130515 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.88.100:22 as 'rpr'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none
debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY发布于 2015-11-12 03:10:31
试着把mtu降到1392左右。您可以通过键入以下内容来测试:
ifconfig ppp0 mtu 1392 或1492以下的另一个值,一旦您找到一个有效的值,然后使其永久化,编辑/etc/ppp/peers/并添加
mtu <value>例如:mtu 1492
https://askubuntu.com/questions/694293
复制相似问题