summaryrefslogtreecommitdiffstats
path: root/content/posts/dropbear.rst
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/dropbear.rst')
-rw-r--r--content/posts/dropbear.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/content/posts/dropbear.rst b/content/posts/dropbear.rst
new file mode 100644
index 0000000..9d5abb4
--- /dev/null
+++ b/content/posts/dropbear.rst
@@ -0,0 +1,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