linux ubuntu centos ssh 登錄 root 密碼錯誤 Permission denied


我在Ubuntu上默認開啟ssh服務 root登錄失敗
報錯Permission denied, please try again
 
通常是由於/etc/ssh/sshd_config的PasswordAuthentication或PermitRootLogin參數的配置引起的
 
將PasswordAuthentication設為yes
將PermitRootLogin前面的#號去掉
將PermitRootLogin設為yes
 
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM