//删除
//sudo apt remove openssh-server
sudo apt install openssh-server
sudo vim /etc/ssh/sshd_config
PasswordAuthentication yes
sudo service ssh start
//重启
sudo service ssh --full-restart
ssh @localhost -p 端口
本文为铭原创文章,转载无需和我联系,但请注明来自铭博客https://8ary.com
最新评论