1.IP地址要设在同一网段下
2.查看22端口是否启动netstat -nlp
3.重启ssh,systemctl restart sshd.service
4.关闭防火墙,systemctl rstop firedwalld.service 或关闭selinux
5.虚拟机桥接
6.是否设置了22端口cat /etc/ssh/sshd_config
2.查看22端口是否启动netstat -nlp
3.重启ssh,systemctl restart sshd.service
4.关闭防火墙,systemctl rstop firedwalld.service 或关闭selinux
5.虚拟机桥接
6.是否设置了22端口cat /etc/ssh/sshd_config