查看22端口是否正常启动
lsof -i:22
asd.png
sudo apt-get install oprnssh-server openssh-client

需要重启
reboot

开启SSH

service ssh start

ssh localhost
lsof -i:22

发表评论