1.首先检查ssh服务是否开启,命令:service sshd status
2.开启sshd服务,命令:service sshd start
重启:service sshd restart
3.检查防火墙是否开启,命令:service iptables restart
关闭防火墙,命令:service iptables stop
1.首先检查ssh服务是否开启,命令:service sshd status
2.开启sshd服务,命令:service sshd start
重启:service sshd restart
3.检查防火墙是否开启,命令:service iptables restart
关闭防火墙,命令:service iptables stop