xshell连接不上ubuntu---could not connect to 'ip' (port 22): Connection failed.

可能是没有开启ssh server,接下来就是开启服务就好。命令如下:

sudo apt-get install openssh-server

这样就OK啦

猜你喜欢

转载自www.cnblogs.com/happystudyeveryday/p/11361160.html