summaryrefslogtreecommitdiffstats
path: root/content/posts/dropbear.rst
blob: 9d5abb43b66204b89b28af6b48911990bdb6d2f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Dropbear Public-Key Authentication 
##################################
:date: 2012-08-07 00:00
:tags: openssh, dropbear

ssh-copy-id does not work out of the box for dropbear.
The issue is that dropbear may only have one authorizedKeys file while openssh
handles this file for each user.
To fix it symlink the root users authorizedKeys file to the dropbear one.
    
.. code-block:: bash

    openwrt>> ln -s /root/.ssh/authorized_keys /etc/dropbear/
    remote>>> ssh-copy-id root@openwrt
 
There, you fixed it