lindoe vps SSH无法连接

昨天不管电信的还是联通的网络,SSH无法连接,DNS设置为8.8.8.8还无法使用

Bitvise SSH Client打开报错如下:
10:26:01.635 Connection failed. Connect() failed: Windows error 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

secureCRT连接
Connection timed out错误

ping的通,网站也能访问,就是SSH无法连接
开始还没有想到因自定义的端口号被封的因素,和linode客服联系,经客户提醒才发现可能是端口号被封的因素。
解决方法如下:
vi /etc/ssh/sshd_config
修改 Port 22
重启/etc/init.d/sshd restart

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据