V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
feixia5712
V2EX  ›  问与答

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

  •  
  •   feixia5712 · 2017-11-04 09:48:47 +08:00 · 9766 次点击
    这是一个创建于 2571 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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: [email protected]
    debug1: kex: host key algorithm: ecdsa-sha2-nistp256
    debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
    debug1: kex: client->server cipher: [email protected] 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
    [email protected]'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 [email protected]
    debug1: Entering interactive session.
    debug1: pledge: network
    packet_write_wait: Connection to 10.x.x.x port 22: Broken pipe
    3 条回复    2017-11-04 16:35:15 +08:00
    xfspace
        1
    xfspace  
       2017-11-04 11:47:03 +08:00 via Android
    配置下 ServerAliveInterval ?
    feixia5712
        2
    feixia5712  
    OP
       2017-11-04 12:02:47 +08:00
    @xfspace 试了,没什么作用,我感觉不是那个原因,以前一直好好的,突然就不行了,但是使用 root 登录正常
    我也查了很多资料,试了都不行
    试了这里的方法 http://www.talkwithtrend.com/Question/225451-1370171 不行
    defunct9
        3
    defunct9  
       2017-11-04 16:35:15 +08:00 via iPhone
    开 ssh,我去看看
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3540 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:58 · PVG 12:58 · LAX 20:58 · JFK 23:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.