错误:
Xshell连接Ubuntu失败。
Connecting to 192.168.xx.xxx:22...Could not connect to 192.168.xx.xxx' (port 22): Connection failed.
systemctl status ssh
发现没有ssh。
#安装ssh程序
sudo apt-get install openssh-server
启动服务
sudo systemctl start ssh
错误:
Xshell连接Ubuntu失败。
Connecting to 192.168.xx.xxx:22...Could not connect to 192.168.xx.xxx' (port 22): Connection failed.
systemctl status ssh
发现没有ssh。
#安装ssh程序
sudo apt-get install openssh-server
启动服务
sudo systemctl start ssh