winscp连不上虚拟机(ubuntu18.04)

解决方法:

输入ssh localhost ssh

看看ssh是否关闭,如果出现下面的提示,表示没有开启:connect to host localhost port 22: Connection refused

winscp连不上虚拟机(ubuntu18.04)

安装ssh服务

sudo apt-get install openssh-server

winscp连不上虚拟机(ubuntu18.04)

启动

sudo /etc/init.d/ssh start
winscp连不上虚拟机(ubuntu18.04)

最后查看下我们的ip地址,输入你root的用户名和密码就可以使用WinSCP连接上了。

相关文章:

  • 2021-11-19
  • 2021-09-12
  • 2021-07-31
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2021-07-19
  • 2022-01-12
  • 2021-08-03
  • 2021-08-26
  • 2022-12-23
  • 2022-01-04
相关资源
相似解决方案