服务器安装SSH服务:

强制关闭yum进程:

rm -f /var/run/yum.pid

启动SSH:

service sshd start

设置开机运行:

chkconfig sshd on

原文地址:https://www.cnblogs.com/yiweiyihang/p/10467630.html