centos 下启用sshd服务
1、查卡服务是否启用
ps -ef | grep `ssh`
2、如果没有启用 则要安装
yum install openssh-server
3、安装完之后开启
/etc/init.d/sshd start
4、如果还是连不上 关闭防火墙
/etc/init.d/iptabls stop
1、查卡服务是否启用
ps -ef | grep `ssh`
2、如果没有启用 则要安装
yum install openssh-server
3、安装完之后开启
/etc/init.d/sshd start
4、如果还是连不上 关闭防火墙
/etc/init.d/iptabls stop