登录服务器出现错误,很久了,没找到解决办法 packet_write_wait: Connection to 10.x.x.x port 22: Broken pipe

2017-11-04 09:48:47 +08:00
 feixia5712
OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 10.x.x.x [10.x.x.x] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/qwe/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.2
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 10.x.x.x:22 as 'qwe'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:5J6yo31aHzZxckSf++YbrFIqkGgLOv55TssssssTMWGTJnfZ8
debug1: Host '[10.x.x.x]:22' is known and matches the ECDSA host key.
debug1: Found key in /home/qwe/.ssh/known_hosts:4
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 134ss217728 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/qwe/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/qwe/.ssh/id_dsa
debug1: Trying private key: /home/qwe/.ssh/id_ecdsa
debug1: Trying private key: /home/qwe/.ssh/id_ed25519
debug1: Next authentication method: password
qwe@10.x.x.x's password:
debug1: Authentication succeeded (password).
Authenticated to 10.x.x.x ([10.x.x.x]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
packet_write_wait: Connection to 10.x.x.x port 22: Broken pipe
9773 次点击
所在节点    问与答
3 条回复
xfspace
2017-11-04 11:47:03 +08:00
配置下 ServerAliveInterval ?
feixia5712
2017-11-04 12:02:47 +08:00
@xfspace 试了,没什么作用,我感觉不是那个原因,以前一直好好的,突然就不行了,但是使用 root 登录正常
我也查了很多资料,试了都不行
试了这里的方法 http://www.talkwithtrend.com/Question/225451-1370171 不行
defunct9
2017-11-04 16:35:15 +08:00
开 ssh,我去看看

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/403428

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX