ssh: connect to host port 22: Connection refused

Posted Hank.Yoon

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ssh: connect to host port 22: Connection refused相关的知识,希望对你有一定的参考价值。

配置Linux的互信,互信完成后,连接需要+端口才可以
?
?已经将端口修改为7777,但依旧走的是默认的22端口
?
?修改方式:
?[[email protected] ssh]# vi /etc/services
ssh 7777/tcp # The Secure Shell (SSH) Protocol

以上是关于ssh: connect to host port 22: Connection refused的主要内容,如果未能解决你的问题,请参考以下文章

启动hadoop出现ssh: connect to host master port 22: No route to host

使用wifi ssh: connect to host hadoop000 port 22: No route to host

可以ping通 但ssh: connect to host 192.168.0.2 port 22: Connection refused

github默认端口22被占用,ssh: connect to host github.com port 22: Connection timed out

git上传代码报错ssh: connect to host github.com port 22: Connection timed out解决办法

github 连接超时 ssh: connect to host github.com port 22: Connection timed out