解决 wsl Ubuntu ssh连接被拒绝

  • 首先ping 下自己的域名看能否连通

能ping通

  • 重启下ssh

之后就可以成功连上了

原文地址:https://www.cnblogs.com/u-damowang1/p/13627288.html