xshell 连接虚拟机中Linux报错:

Could not connect to '192.168.8.120' (port 22):Connection failed.

原因:虚拟机中Linux没有开启sshd服务

解决方法:

root登录虚拟机Linux

service  sshd start

关闭防火墙

service iptables stop

chkconfig iptables off

重新通过xshell连接虚拟机中的Linux即可。

相关文章:

  • 2021-11-19
  • 2021-04-24
  • 2021-04-30
  • 2021-07-01
  • 2021-09-24
  • 2021-12-05
  • 2021-04-20
  • 2022-01-07
猜你喜欢
  • 2021-12-26
  • 2021-08-19
  • 2022-12-23
  • 2021-07-30
  • 2021-08-30
  • 2022-12-23
相关资源
相似解决方案