现象:
ssh client无法连到ubuntu
sammydeair:~ Sammy$ ssh -l s1 10.211.55.4
ssh: connect to host 10.211.55.4 port 22: Connection refused
查看:
ubuntu上ssh local,同样错误,发现是openssh-server没安装
解决:
$
sudo
apt-get update //视网络情况会花比较长的时间
$
sudo
apt-get upgrade
$
sudo
apt-get
install openssh-server
时间: 2024-10-11 13:43:07