jingwentian
V2EX  ›  问与答

SecureCRT 无法连接虚拟机中的ubuntu

  •  
  •   jingwentian · Mar 22, 2013 · 3380 views
    This topic created in 4827 days ago, the information mentioned may be changed or developed.
    # Ubuntu可以与windows ping通
    # 选择SSH2连接方式

    -->The remote system refused the connection.

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

    那应该是iptable配置的不对,google以下,在iptable里面开放ssh端口。
    swulling
        4
    swulling  
       Mar 22, 2013
    如果是NAT的话要做端口映射
    jingwentian
        5
    jingwentian  
    OP
       Mar 22, 2013
    @wzxjohn
    @swulling 桥接...
    以前记得貌似没遇见过这样. 跟win下的网络设置啥的有关系么
    wzxjohn
        6
    wzxjohn  
       Mar 23, 2013
    @jingwentian -->The remote system refused the connection.
    你看看你的虚拟机的SSH配置。应该是这个配置有问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1192 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 23:19 · PVG 07:19 · LAX 16:19 · JFK 19:19
    ♥ Do have faith in what you're doing.