any idea how do i get the ssh to accept rsa keys instead of passwords ?
could not find the conf to enable that
any idea how do i get the ssh to accept rsa keys instead of passwords ?
could not find the conf to enable that
This is an OpenWrt question, and it has an OpenWrt answer. The file you need is /etc/dropbear/authorized_keys.
thanks for the hint,
i put the autorised_keys in the usual place … thats why it did not work.
however, it makes zero sense to me to have the file with public keys on a central location
(except busybox/OpenWrt is a 100% Single User OS, and even then it makes very little sense still)
anyway what you say is correct,
cat /root/.ssh/authorized_keys >> /etc/dropbear/authorized_keys
fixed the problem for good, thanks again.
That place is only “usual” for the OpenSSH server. Dropbear has different customs.
If it’s any consolation, I made exactly the same error myself a few years ago.
That place is only “usual” for the OpenSSH server. Dropbear has different customs.
If it’s any consolation, I made exactly the same error myself a few years ago.[/quote]
I did the exact same thing a few weeks ago and forgot that openwrt was running dropbear.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules