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

同一网络下 Ubuntu 无法 ssh 登录远程主机, windows 使用 putty 可以,有可能是什么原因?

  •  
  •   bmos · 2019-03-06 09:39:01 +08:00 · 2379 次点击
    这是一个创建于 1849 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题。
    7 条回复    2019-03-06 09:57:05 +08:00
    cdlixucd
        1
    cdlixucd  
       2019-03-06 09:43:45 +08:00   ❤️ 1
    清除 ubuntu 的 known_hosts 试一下
    StarkXiao
        2
    StarkXiao  
       2019-03-06 09:45:55 +08:00   ❤️ 1
    log 呢?提示呢?
    bmos
        3
    bmos  
    OP
       2019-03-06 09:49:25 +08:00
    @cdlixucd 试了没有效果
    @StarkXiao connection time out
    liwufan
        4
    liwufan  
       2019-03-06 09:51:09 +08:00 via iPhone   ❤️ 1
    请先 ssh -vvv
    fox0001
        5
    fox0001  
       2019-03-06 09:52:01 +08:00 via Android   ❤️ 1
    两边连接的配置是一样的?显示连接超时的话,要看看 Ubuntu 是不是不能访问该主机,试试在 Ubuntu 上 telnet 一下该主机的 ssh 端口
    Hardrain
        6
    Hardrain  
       2019-03-06 09:53:40 +08:00   ❤️ 1
    Ubuntu 机本地有防火墙?
    bmos
        7
    bmos  
    OP
       2019-03-06 09:57:05 +08:00   ❤️ 1
    @cdlixucd
    @StarkXiao
    @liwufan
    @fox0001
    @Hardrain
    感谢各位,我秀下限了,原来是忘了改过端口,putty 是保存好的设置。。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3334 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:25 · PVG 21:25 · LAX 06:25 · JFK 09:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.