mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] dropbear: add /root/.ssh
@ 2015-06-18  6:25 Bruno Thomsen
  0 siblings, 0 replies; only message in thread
From: Bruno Thomsen @ 2015-06-18  6:25 UTC (permalink / raw)
  To: ptxdist; +Cc: bth

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

One-line psk setup:
cat ~/.ssh/id_ed25519.pub | ssh root@x.x.x.x "cat - >> ~/.ssh/authorized_keys"

Signed-off-by: Bruno Thomsen <bth@kamstrup.com>
---
 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
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-18  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18  6:25 [ptxdist] [PATCH] dropbear: add /root/.ssh Bruno Thomsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox