centos6.6学习笔记:xshell无法链接linux系统

可能是没有安装ssh服务。

解决原因1:

使用netstat,查看是否启动shh服务;
开启ssh服务:

service sshd start

关闭ssh服务:

service sshd stop

重启ssh服务:

servcie sshd restart

SSH服务开机自动启动:

chkconfig sshd on

取消开机自启动:

chkconfig sshd off

开启服务后,检查服务状态:

service sshd status

解决原因2:
安装ssh:

yum install openssh-server
    原文作者:kingHalo丶一文
    原文地址: https://segmentfault.com/a/1190000008901809
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞