1.首先ping两台机器看网络是否通
ping x.x.x.x
2.查看ssh服务进程是否开启
service sshd restart
ps aux|grep sshd
3.查看ssh进程的网络状态(端口号)
netstat -anplut|grep sshd
4.考虑防火墙是否关闭
service firewalld stop 临时关闭 systemctl disable firewalld 设置开机不启动
标签:sshd,grep,service,ping,firewalld,故障,ssh,连接 From: https://www.cnblogs.com/Himawari/p/17207736.html