wy919


Connecting to 192.168.1.41:22...
Could not connect to \'192.168.1.41\' (port 22): Connection failed.

Type `help\' to learn how to use Xshell prompt.

一般配置好 不会有什么问题
有一个会让你排查之后 抓狂,
ping 的时候 ping 不通过 也会让你连接失败

排查一下网线


开启ssh服务:service sshd start

关闭ssh服务:service sshd stop

重启ssh服务:servcie sshd restart

SSH服务开机自动启动:chkconfigsshd on

取消开机自启动:chkconfig sshd off

开启服务后,检查服务状态:service sshd status

解决原因2:安装ssh:

yum install openssh-server

分类:

技术点:

相关文章: