openwrt ssh login-free secret

Generating a secret key associated

dropbearkey -t rsa -f id_rsa
dropbearkey -y -f id_rsa | grep "^ssh-rsa" >> authorized_keys

 

2 is stored in the specified path

 

/ Etc / dropbear / authorized_keys (server)
/ Etc / dropbear / id_rsa (client)

 

3 Log  

 ssh -y -K 60  root@192.168.88.1 -i /etc/dropbear/id_rsa

 

Guess you like

Origin www.cnblogs.com/xiaohuamao/p/12095358.html