Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://openwrt.org/docs/guide-user/security/dropbear.public-key.auth
- Non-root users
- Add authentication keys for the current non-root user.
- ssh openwrt.lan "mkdir -p ~/.ssh; tee -a ~/.ssh/authorized_keys" < ~/.ssh/id_ed25519.pub
- Disabling password authentication
- Harden security by disabling password authentication.
- uci set dropbear.@dropbear[0].PasswordAuth="0"
- uci set dropbear.@dropbear[0].RootPasswordAuth="0"
- uci commit dropbear
- /etc/init.d/dropbear restart
Add Comment
Please, Sign In to add comment