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

某公寓 WiFi 内网机器之间无法使用 ssh( mosh)连接(修改端口号也不行), VNC、TeamViewer 可以,如何排查原因?

  •  
  •   WildCat · 2017-03-20 02:18:32 +08:00 · 2491 次点击
    这是一个创建于 2810 天前的主题,其中的信息可能已经有所发展或是发生改变。
    类似这种情况,无论树莓派还是台式机 ubuntu 都无法从 Mac ssh 连接
    6 条回复    2017-03-20 10:20:37 +08:00
    trepwq
        1
    trepwq  
       2017-03-20 02:33:11 +08:00 via iPhone   ❤️ 1
    client 隔离或者禁止 tcp 通信
    远程桌面应该是 udp
    WildCat
        2
    WildCat  
    OP
       2017-03-20 02:49:47 +08:00
    @trepwq 抱歉刚发现没写清楚就发出去了。

    ssh 连接的时候是让我输入密码的,但是输入完就没反应了( https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=138631)。 debug:

    ```
    debug1: Authentication succeeded (password).
    Authenticated to 192.168.0.20 ([192.168.0.20]:22).
    debug1: channel 0: new [client-session]
    debug3: ssh_session2_open: channel_new: 0
    debug2: channel 0: send open
    debug1: Requesting [email protected]
    debug1: Entering interactive session.
    debug2: callback start
    debug2: client_session2_setup: id 0
    debug2: fd 3 setting TCP_NODELAY
    debug2: channel 0: request pty-req confirm 1
    debug1: Sending environment.
    debug3: Ignored env TERM_PROGRAM
    debug3: Ignored env TERM
    debug3: Ignored env SHELL
    debug3: Ignored env TMPDIR
    debug3: Ignored env Apple_PubSub_Socket_Render
    debug3: Ignored env TERM_PROGRAM_VERSION
    debug3: Ignored env TERM_SESSION_ID
    debug3: Ignored env USER
    debug3: Ignored env COMMAND_MODE
    debug3: Ignored env SSH_AUTH_SOCK
    debug3: Ignored env __CF_USER_TEXT_ENCODING
    debug3: Ignored env Apple_Ubiquity_Message
    debug3: Ignored env PATH
    debug3: Ignored env PWD
    debug1: Sending env LANG = en_GB.UTF-8
    debug2: channel 0: request env confirm 0
    debug3: Ignored env SHLVL
    debug3: Ignored env HOME
    debug3: Ignored env LOGNAME
    debug3: Ignored env SECURITYSESSIONID
    debug3: Ignored env _
    debug2: channel 0: request shell confirm 1
    debug2: callback done
    debug2: channel 0: open confirm rwindow 0 rmax 32768
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    debug2: client_check_window_change: changed
    debug2: channel 0: request window-change confirm 0
    ```
    nemuol
        3
    nemuol  
       2017-03-20 08:38:42 +08:00 via Android
    客用隔离了
    manhere
        4
    manhere  
       2017-03-20 08:50:24 +08:00
    可以看下 MTU 大小是否设置不当
    littlewey
        5
    littlewey  
       2017-03-20 09:13:02 +08:00 via iPhone
    遇到一次改了 ssh server ip 解决的
    flynaj
        6
    flynaj  
       2017-03-20 10:20:37 +08:00 via Android
    隔离了, mosh 是 udp ,其他两个是 TCP
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5451 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:52 · PVG 13:52 · LAX 21:52 · JFK 00:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.