linux中ssh登陸Permanently added (RSA) to the list of known hosts問題解決

今天用戶名+密碼的方式登陸出現如下問題:Permission denied (publickey)html   1、能夠把~/.ssh/known_hosts清除 2、若是仍是不行 修改/etc/ssh/sshd-config文件,將其中的PermitRootLogin no修改成yes,PubkeyAuthentication yes修改成no,AuthorizedKeysFile .ssh/a
相關文章
相關標籤/搜索