dropbearkey -t rsa -f .ssh/id_rsa > id_rsa.pub

scp id_rsa.pub > root@192.168.1.2:/root/.ssh/authorized_keys

ssh -i .ssh/id_rsa root@192.168.1.2

参考链接:openwrt远程通过ssh免密钥连接其他linux系统_沃航科技 (worldflying.cn)