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

SecureCRT 无法连接虚拟机中的ubuntu

  •  
  •   jingwentian · 2013-03-22 20:28:50 +08:00 · 2709 次点击
    这是一个创建于 4025 天前的主题,其中的信息可能已经有所发展或是发生改变。
    # Ubuntu可以与windows ping通
    # 选择SSH2连接方式

    -->The remote system refused the connection.

    好久没折腾了,就是帮朋友在虚拟机搭个lnmp环境....结果远程都连不上,该肿么办?
    6 条回复    1970-01-01 08:00:00 +08:00
    tarsier
        1
    tarsier  
       2013-03-22 20:34:51 +08:00
    看看ssh的监听地址和端口对不对
    wzxjohn
        2
    wzxjohn  
       2013-03-22 22:17:51 +08:00
    看看你虚拟机的连接方式,是桥接还是NAT还是Host-Only?
    renraxx
        3
    renraxx  
       2013-03-22 22:22:45 +08:00
    能互相ping通?

    那应该是iptable配置的不对,google以下,在iptable里面开放ssh端口。
    swulling
        4
    swulling  
       2013-03-22 22:24:45 +08:00
    如果是NAT的话要做端口映射
    jingwentian
        5
    jingwentian  
    OP
       2013-03-22 23:00:27 +08:00
    @wzxjohn
    @swulling 桥接...
    以前记得貌似没遇见过这样. 跟win下的网络设置啥的有关系么
    wzxjohn
        6
    wzxjohn  
       2013-03-23 13:25:28 +08:00
    @jingwentian -->The remote system refused the connection.
    你看看你的虚拟机的SSH配置。应该是这个配置有问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2793 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:32 · PVG 21:32 · LAX 06:32 · JFK 09:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.