美文网首页
解决阿里云ssh: connect to host xxxxx

解决阿里云ssh: connect to host xxxxx

作者: 大朕东 | 来源:发表于2017-12-09 00:32 被阅读1202次

前言

今儿在阿里云买了一年的ECS服务,准备用ssh远程连接,因为受不了在网站上的控制台。

结果每次我尝试ssh root@xxx.xxx.xxx的时候,总显示 ssh: connect to host xxxxx port 22: Connection timed out

宛如一个智障

1、在确定我本机防火墙关闭后
2、确定ECS服务器的安全组规则允许 我就错在这

屏幕快照 2017-12-09 上午12.28.16.png

就这样搞定!

写在最后

菜鸟就是菜鸟,一个坑可以折腾一上午,好像以前也遇见过同样的问题,但是忘记了,所以记录下来,帮助别人也帮助自己orz

Write the code, change the world!

相关文章

网友评论

      本文标题:解决阿里云ssh: connect to host xxxxx

      本文链接:https://www.haomeiwen.com/subject/ezzyixtx.html