1. 修改网络编辑器

xshell无法连接上centos问题

xshell无法连接上centos问题
注意:如果出现无法勾选’将主机虚拟适配器连接到此网络’的问题,跳转到[添加链接描述(https://blog.csdn.net/u012842814/article/details/80882242),解决完在回来继续。

2.修改虚拟机网络适配器

xshell无法连接上centos问题

xshell无法连接上centos问题
DNS服务器可以通过电脑的右下角的的电脑图标右击‘打开网络和internet设置’查看

3.xshell创建连接

xshell无法连接上centos问题

4.连接成功

xshell无法连接上centos问题



其他问题


1.看虚拟机是否联网
xshell无法连接上centos问题

2.sshd是否启动

service sshd status

3.防火墙是否关闭

开启:chkconfig iptables on
关闭:chkconfig iptables off

相关文章: