ubuntu可以ping通百度,但是xshell无法连接
检查ssh服务状态
sudo systemctl status ssh
安装 OpenSSH 服务端
sudo apt install openssh-server -y
安装完成后,再次启动 SSH 服务
sudo systemctl start ssh
再次使用xshell连接即可
ubuntu可以ping通百度,但是xshell无法连接
检查ssh服务状态
sudo systemctl status ssh
安装 OpenSSH 服务端
sudo apt install openssh-server -y
安装完成后,再次启动 SSH 服务
sudo systemctl start ssh
再次使用xshell连接即可