解决使用putty 连接Windows主机与Linux虚拟机出现提示network error:connection refused问题

使用putty 连接Windows主机与Linux虚拟机出现提示network error:connection refused的问题

  1. 问题描述:
    • 主机与虚拟机可以互相ping通;
    • 防火墙已经关闭
    • 使用putty连接Linux机器时,弹出network error: connection refused的提示
  2. 解决方法:
    •  在Linux虚拟机中输入  
      • /etc/init.d/sshd status    显示status:stopped  
    • 接着输入
      • /etc/init.d/sshd start
      • 出现Starting sshd... OK[0.0s]
    • 成功解决此问题
原文地址:https://www.cnblogs.com/moaiwa/p/12894010.html