使用密钥登陆 OpenWrt · Leyar's Notebook
https://leyar.me/openwrt-ssh-key19.02.2016 · 遂决定路由器上也使用 ssh-key。 使用 key 验证登陆的优点:(这里引用 OpenWrt官方的描述) you no longer have to type the password, less effort to log in, less times for it to be seen on your fingers by others, easier to automate things like SCP or remote commands, the password is no longer sent encrypted to OpenWrt,
[OpenWrt Wiki] Dropbear key-based authentication
openwrt.org › security › dropbearDec 27, 2021 · Add your public key to the router using ssh-copy-id . ssh-copy-id root @ openwrt.lan Generate a new authentication key if necessary. Testing Use ssh to log in your router using command-line interface, temporarily disabling password authentication to verify that you can login and that it does not ask you for a password: