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

诡异的问题请教……

  •  
  •   timothyye · 2015-10-12 22:59:29 +08:00 · 1613 次点击
    这是一个创建于 3137 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近不知道为啥,在家连我的 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 条回复    2015-10-12 23:42:02 +08:00
    timothyye
        1
    timothyye  
    OP
       2015-10-12 23:16:06 +08:00
    SSH 连接还会遇到这种问题:
    ssh user@test-environment
    ssh_exchange_identification: read: Connection reset by peer
    datocp
        2
    datocp  
       2015-10-12 23:42:02 +08:00 via Android
    似乎是不如以前, putty 已经打开始 keepalive 选项,但是不像以前开着没问题,经常的停止响应只能重新开。不知道又在测试什么高科技了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5644 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:38 · PVG 15:38 · LAX 00:38 · JFK 03:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.