This shows you the differences between two versions of the page.
computer:dropbear_key-based_auth [2012/02/08 02:36] (current)
|Line 1:||Line 1:|
|+||# cd /tmp|
|+||# dropbearkey -t rsa -f id_rsa | grep ssh-rsa > id_rsa.pub|
|+||# cat id_rsa.pub | ssh user@server "cat >> .ssh/authorized_keys"|
|+||(note: the fact that we acknowledged the server's identity during the above step is important... of course, we need to use a slightly different method if password authentication is disabled for the user in question)|
|+||# mv id_rsa /etc/dropbear/|