前端开发入门到精通的在线学习网站

网站首页 > 资源文章 正文

树莓派ssh出现Permission denied, please try again

qiguaw 2024-12-16 15:28:28 资源文章 67 ℃ 0 评论

确认是普通用户登录

由于如果不输入用户名的时候默认的是root用户,但是安全期间ssh服务默认没有开root用户的ssh权限

用普通用户登录

输入:$ sudo nano /etc/ssh/sshd_config

把PasswordAuthentication的#号去掉就行了

# Change to no to disable tunnelled clear text passwords

PasswordAuthentication yes

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表