問題
設置ssh之后,客戶端登錄會提示 permission denied 的問題,經過排查最終確定是 shell設置錯誤的問題,解決方法如下
http://new.aidlearning.net/d/248
總結
- 首先安裝sshd 命令
sudo apt install openssh-server
- 然后啟用
sudo /etc/inid.d/sshd start
- 如果想要root登錄 需要設置 https://blog.csdn.net/weixin_42551369/article/details/88946622
- 然后重啟服務
sudo /etc/inid.d/sshd restart