通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
s60985545lwh
V2EX  ›  VPS

SSH 连接问题

  •  
  •   s60985545lwh · Feb 14, 2021 · 1356 views
    This topic created in 1923 days ago, the information mentioned may be changed or developed.
    IP : 2a02:180:6:1::1425

    问题描述:正常情况下进行 SSH 连接显示 Disconnected from remote host,而只有在 Rescue System 下才能正常连接

    尝试解决:进入 Rescue System 后
    vim /etc/ssh/sshd_config
    #UseDNS yes
    改为
    UseDNS no
    重启 sshd
    service sshd restart

    尝试后无效,求各位 V2EX 的大佬赐教
    1 replies    2021-02-17 19:51:45 +08:00
    zro
        1
    zro  
       Feb 17, 2021
    开了防火墙?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2880 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:36 · PVG 12:36 · LAX 21:36 · JFK 00:36
    ♥ Do have faith in what you're doing.