升级到 Ubuntu 15.10 后无法通过 pptp 进行 ssh

升级到 Ubuntu 15.10 后无法通过 pptp 进行 ssh

升级到 ubuntu 15.10 后,我无法通过 pptp 与我的服务器建立 ssh 连接,但我可以从我的服务器 ssh 到升级后的 PC。在本地网络中,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 [email protected] none
debug1: kex: client->server aes128-ctr [email protected] none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

答案1

尝试将 mtu 降低到 1392 左右。您可以输入以下命令进行测试:

ifconfig ppp0 mtu 1392 

或低于 1492 的其他值,一旦找到可行的值,即可使其永久生效,编辑 /etc/ppp/peers/ 并添加

mtu <value>

例如 mtu 1492

相关内容