lj0014
V2EX  ›  问与答

VPS 的 ssh 端口连不上了怎么办?

  •  
  •   lj0014 · Jan 23, 2015 · 3856 views
    This topic created in 4136 days ago, the information mentioned may be changed or developed.
    好久没登的VPS今天发现登不上了
    一度以为自己记错端口号了,还用nmap扫了下。看样子端口确实在就是连不上,我的防火墙应该也是没开的
    有些资料还在上面,求助……

    nmap结果如下:
    PORT STATE SERVICE
    223/tcp filtered cdc

    telnet结果如下:
    Trying xxx.xxx.xxx.xxx...
    telnet: connect to address xxx.xxx.xxx.xxx: Connection refused
    5 replies    2015-01-23 22:42:40 +08:00
    yylzcom
        1
    yylzcom  
       Jan 23, 2015 via Android
    Vps 控制面板有console,就算你把ssh端口封了都可以
    lj0014
        2
    lj0014  
    OP
       Jan 23, 2015
    @yylzcom 谢谢,我试试
    zgxltxz
        3
    zgxltxz  
       Jan 23, 2015 via Android
    先用面板或是可靠代理连接到SSH,然后换个SSH端口
    lj0014
        4
    lj0014  
    OP
       Jan 23, 2015
    @zgxltxz 通过面板登上去换回22端口了
    zgxltxz
        5
    zgxltxz  
       Jan 23, 2015
    @lj0014 实际上建议非22端口,用5位数的端口
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3586 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:01 · PVG 13:01 · LAX 22:01 · JFK 01:01
    ♥ Do have faith in what you're doing.