与 VM 的 Microsoft azure ssh 连接不断下降
Microsoft azure ssh connection to VM keeps dropping
我正在使用 ssh 连接到 Microsoft Azure 上托管的虚拟机 (ubuntu 14.04)。我的问题是我的连接每隔几分钟(同一时期)就断开一次,我需要重新连接。这与互联网连接无关,因为它不会掉线。我试过从不同的电脑登录,都是一样的。
有时这是由于不活动造成的:请参阅 http://www.cyberciti.biz/tips/open-ssh-server-connection-drops-out-after-few-or-n-minutes-of-inactivity.html
总而言之,ssh 连接有时会在几分钟后断开。
来自 OpenSSH 手册页:
This is usually the result of a packet filter or NAT device timing out your TCP connection due to inactivity. For security, reason most enterprises only use SSH protocol version 2. This problem only occurred with version 2.
您可以尝试按照该文章中的说明进行操作。
我正在使用 ssh 连接到 Microsoft Azure 上托管的虚拟机 (ubuntu 14.04)。我的问题是我的连接每隔几分钟(同一时期)就断开一次,我需要重新连接。这与互联网连接无关,因为它不会掉线。我试过从不同的电脑登录,都是一样的。
有时这是由于不活动造成的:请参阅 http://www.cyberciti.biz/tips/open-ssh-server-connection-drops-out-after-few-or-n-minutes-of-inactivity.html
总而言之,ssh 连接有时会在几分钟后断开。
来自 OpenSSH 手册页:
This is usually the result of a packet filter or NAT device timing out your TCP connection due to inactivity. For security, reason most enterprises only use SSH protocol version 2. This problem only occurred with version 2.
您可以尝试按照该文章中的说明进行操作。