timothyye
V2EX  ›  问与答

诡异的问题请教……

  •  
  •   timothyye · Oct 12, 2015 · 2001 views
    This topic created in 3868 days ago, the information mentioned may be changed or developed.
    最近不知道为啥,在家连我的 VPS ,公司的 VPS ,以及我其他的几台 VPS ,都遇到很诡异的问题。
    在 SSH 连上之后,刚输入运行一两行命令, SSH 就断开了,提示:
    ➜ pics cd pics
    ➜ pics Write failed: Broken pipe

    刚开始是以为我的 DO 的 VPS 有问题,后来又连了我 JP 的 Linode 机器,同样的问题……
    再后来,以为国外的 VPS 会被“照顾”,连公司的 AWS 机器,国内北京的服务器,同样的问题……

    不光是 SSH 会被断开, rsync 也一样:

    rsync 在拷贝文件的途中也会莫名其妙的被“断掉”:

    Write failed: Broken pipe
    rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken pipe (32)
    rsync: connection unexpectedly closed (2120 bytes received so far) [sender]
    rsync error: unexplained error (code 255) at /SourceCache/rsync/rsync-45/rsync/io.c(453) [sender=2.6.9]

    同步一个目录断开 N 次,我也是醉了……

    家里是成都电信 100M 光纤,白天在公司上班连 SSH 从来不会遇到这种问题,难道是电信的问题?这里的童鞋们有遇到类似的情况吗?
    2 replies    2015-10-12 23:42:02 +08:00
    timothyye
        1
    timothyye  
    OP
       Oct 12, 2015
    SSH 连接还会遇到这种问题:
    ssh user@test-environment
    ssh_exchange_identification: read: Connection reset by peer
    datocp
        2
    datocp  
       Oct 12, 2015 via Android
    似乎是不如以前, putty 已经打开始 keepalive 选项,但是不像以前开着没问题,经常的停止响应只能重新开。不知道又在测试什么高科技了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1228 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:41 · PVG 01:41 · LAX 10:41 · JFK 13:41
    ♥ Do have faith in what you're doing.