Openwrt SSH免密码登录linux服务器

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)

posted @ 2021-07-26 17:04  sherlock-merlin  阅读(281)  评论(0编辑  收藏  举报