Passwordless ssh [SOLVED]

**I upgraded to 2020-06-02.

Firmware Version: OpenWrt SNAPSHOT r13427-a47acae319 / LuCI Master git-20.154.25027-09014e0
Kernel Version: 5.4.42**

When I ssh to it, it asks for a passwd.
The 2048 bit RSA key is in /etc/dropbear/authorized_keys.

Any ideas on what to look for?

Check logread but might be attributes on the /etc/dropbear/authorized_keys file
root:root 640

1 Like

ls -l /etc/dropbear/

-rw-rw-r-- 1 root root 393 Jun 2 19:56 authorized_keys

logread:

authpriv.info dropbear[3536]: /etc/dropbear/authorized_keys must be owned by user or root, and not writable by others

Thanks, all fixed.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.