V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
rwecho
V2EX  ›  Linux

今天 SSH 远程所有的主机,都会卡在这里,但是远程 阿里云的可以

  •  
  •   rwecho · 1 天前 · 1780 次点击
    debug1: Connection established.
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_rsa type 0
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_rsa-cert type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ecdsa type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ecdsa-cert type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ecdsa_sk type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ecdsa_sk-cert type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ed25519 type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ed25519-cert type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ed25519_sk type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_ed25519_sk-cert type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_xmss type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_xmss-cert type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_dsa type -1
    debug1: identity file /Volumes/MacMiniDisk/Users/echo/.ssh/id_dsa-cert type -1
    debug1: Local version string SSH-2.0-OpenSSH_9.6
    debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
    debug1: compat_banner: match: OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 pat OpenSSH* compat 0x04000000
    debug1: Authenticating to 38.60.109.114:22 as 'root'
    debug1: load_hostkeys: fopen /Volumes/MacMiniDisk/Users/echo/.ssh/known_hosts2: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
    debug1: SSH2_MSG_KEXINIT sent


    不知道什么情况,今天远程 4 台 vps 都会出现这个问题。然后阿里云的可以,并且从阿里云 ProxyJump 也是可以的。 这种情况,应该怎么办?
    17 条回复    2024-10-15 16:58:27 +08:00
    rwecho
        1
    rwecho  
    OP
       1 天前
    Connection closed by 38.60.109.114 port 22

    接着上面,过一会就会出现这个提示。
    colinlikepotatos
        2
    colinlikepotatos  
       1 天前
    百度热搜 1 中国主要城市成美网络秘密入侵目标。不知是不是高墙发威了,再加上今天演习打台湾?
    rwecho
        3
    rwecho  
    OP
       1 天前
    @colinlikepotatos #2 啊,还有这种事?这应该不会影响吧,这个端口是开着的,telnet 可以打开。

    我的服务器,我的电脑,网络是通的,就是连不上,其他 443 ,80 ,都可以,就是不能上去维护。
    june4
        4
    june4  
       1 天前
    ssh 原生支持代理的,我从来都是用代理用 ssh,毕竟代理线路可以非常好,主机不一定很好。
    tsanie
        5
    tsanie  
       1 天前
    我现在都是 ProxyCommand cloudflared access ssh --hostname %h 的,稳如老狗
    linanzi
        6
    linanzi  
       1 天前
    -vvv 之后的显示应该是这样的,估计没收到响应
    debug3: send packet: type 20
    debug1: SSH2_MSG_KEXINIT sent
    debug3: receive packet: type 20
    debug1: SSH2_MSG_KEXINIT received
    szdosar
        7
    szdosar  
       1 天前
    https://tcp.ping.pe/测试一下你这些服务器的 22 端口是否绿色状态,至少你日志中的服务器 22 端口全部可连通的。
    rwecho
        8
    rwecho  
    OP
       1 天前
    @szdosar #7 都是绿色的。
    yinmin
        9
    yinmin  
       1 天前 via iPhone
    mac 电脑用手机热点试试,如果 4G/5G 网络没问题,说明你宽带有阻断
    julyclyde
        10
    julyclyde  
       1 天前
    @szdosar 都收到对方发来的 remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.11 了,根本不需要检测 22 端口啊
    jpuyy
        11
    jpuyy  
       1 天前
    服务端 log 有看过吗?
    另外客户端抓包看一下
    szdosar
        12
    szdosar  
       1 天前
    客户端是不是找不到 known_hosts 文件了?
    ```
    debug1: load_hostkeys: fopen /Volumes/MacMiniDisk/Users/echo/.ssh/known_hosts2: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
    ```
    yudoo
        13
    yudoo  
       22 小时 31 分钟前
    我的直接 ping 不通了
    Esec
        14
    Esec  
       22 小时 5 分钟前 via Android
    很早就有人滥用 ssh 协议,有的省份会搞精确阻断,被封只能`ssh -J 阿里 目标`搞台跳板了
    julyclyde
        15
    julyclyde  
       20 小时 17 分钟前
    @yudoo tcp 通不通,和 ping 也没任何关系
    julyclyde
        16
    julyclyde  
       20 小时 17 分钟前
    @szdosar known_hosts 不是必须的
    rwecho
        17
    rwecho  
    OP
       15 小时 25 分钟前
    @Esec #14 这个有可能,但是如果阻断得话,不应该端口无法访问?现在端口打开了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2638 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 69ms · UTC 00:23 · PVG 08:23 · LAX 17:23 · JFK 20:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.