![Debian“Buster”上的 SSH 在身份验证后报告管道损坏](https://linux22.com/image/12795/Debian%E2%80%9CBuster%E2%80%9D%E4%B8%8A%E7%9A%84%20SSH%20%E5%9C%A8%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%E5%90%8E%E6%8A%A5%E5%91%8A%E7%AE%A1%E9%81%93%E6%8D%9F%E5%9D%8F.png)
我已经在 /etc/ssh/ssh_config 中设置了以下内容
Host *
ServerAliveInterval 100
以及 /etc/ssh/sshd_config 中的以下内容
ClientAliveInterval 100
ClientAliveCountMax 3
以下是输入密码后ssh的日志。
root@localhost's password:
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (password).
Authenticated to localhost ([127.0.0.1]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting [email protected]
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: send packet: type 1
packet_write_wait: Connection to 127.0.0.1 port 22: Broken pipe