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

发布时间 2023-04-02 17:28:56作者: rsapaper

 

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