At Yun:

mkdir ~/.ssh
dropbearkey -t rsa -f ~/.ssh/id_rsa
dropbearkey -y -f ~/.ssh/id_rsa | grep "^ssh-rsa " >> authorized_keys
scp authorized_keys root@192.168.0.240:/root/.ssh

192.168.0.240 is desktop machine

At 192.168.0.240:

chmod 600 /root/.ssh/authorized_keys

At Yun:

ssh root@192.168.0.240 -i ~/.ssh/id_rsa

 

Comments powered by CComment