This directory is needed when using pre-shared key ssh login.

One-line psk setup:
cat ~/.ssh/id_ed25519.pub | ssh [email protected] "cat - >> ~/.ssh/authorized_keys"

Signed-off-by: Bruno Thomsen <[email protected]>
---
 rules/dropbear.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/dropbear.make b/rules/dropbear.make
index a659114..9a510a4 100644
--- a/rules/dropbear.make
+++ b/rules/dropbear.make
@@ -316,6 +316,7 @@ endif
 endif
 
        @$(call install_copy, dropbear, 0, 0, 0755, $(PTXCONF_DROPBEAR_KEY_DIR))
+       @$(call install_copy, dropbear, 0, 0, 0600, /root/.ssh)
 
        @$(call install_finish, dropbear)
 
-- 
1.9.1


-- 
ptxdist mailing list
[email protected]

Reply via email to