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

相关文章:

  • 2021-12-21
  • 2021-06-30
  • 2021-07-27
  • 2021-05-31
  • 2021-11-10
  • 2021-04-08
  • 2021-11-30
猜你喜欢
  • 2021-10-20
  • 2021-12-10
  • 2021-08-12
  • 2021-11-06
  • 2021-10-13
  • 2021-06-21
  • 2021-07-19
相关资源
相似解决方案