获取client_loop:发送断开连接:添加ServerAliveInterval 600后管道损坏

问题描述 投票:0回答:1

我添加了这个

Host *

ServerAliveInterval 600

到我的

~/.ssh/config
文件,但我仍然收到错误。

终端在一分钟不活动后抛出错误,连接到远程服务器

ssh -p 2220 [email protected]

检查了远程服务器etc/ssh/sshd.config文件,没有ClientAliveInterval配置。

linux ssh server client
1个回答
0
投票

我切换了网络 供应商,这似乎解决了这个问题。不知道为什么

© www.soinside.com 2019 - 2024. All rights reserved.