No supported authentication methods available (server sent: publickey)错误解决

 

No supported authentication methods available (server sent: publickey)错误解决  https://blog.csdn.net/cl2227619761/article/details/109840203

PasswordAuthentication yes

 实践:

 

# pwd
/etc/ssh
# vim sshd_config
# systemctl restart sshd

 

 

posted @ 2023-04-02 17:24  papering  阅读(468)  评论(0编辑  收藏  举报