在公司的内网连SSH的IP能PING通,但用22端口始终失败。
隔壁同事买的SSH服务用443端口就能连通。
所以想在自己搭的VPS上也试着开通443端口试试,
Google不到相应的结果。
求助啦。
隔壁同事买的SSH服务用443端口就能连通。
所以想在自己搭的VPS上也试着开通443端口试试,
Google不到相应的结果。
求助啦。
1
phuslu May 23, 2013
推荐安装 dropbear 然后修改配置在 443 端口。
|
3
sNullp May 23, 2013
/etc/ssh/sshd_config
|
6
shoper OP 在 /etc/ssh/sshd_confg文件中(注意是sshd_confg,有个d,不是ssh_conf)中修改
#Port 22 注释此行,修改为443 Port 443 #Protocol 2,1 Protocol 2 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: 然后保存退出,试用重启命令如下,重启ssh /etc/init.d/sshd restart 再次连接你的ssh的时候端口改为443即可 |
13
shoper OP 我是修改成这样的
#Port 22 #Port 443 #Protocol 2,1 Protocol 2 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: |