From f661ea429561712819a39250f62b6ed628c7e2c7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 20 Jan 2024 13:38:32 +0100 Subject: fix location of authorized_keys --- package/dropbear/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/dropbear/Makefile') diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index 8f12d4cf4..520e0b841 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -76,9 +76,9 @@ do-install: $(IDIR_DBCONVERT)/usr/bin/dropbearconvert # ssh pubkey test -z $(ADK_RUNTIME_SSH_PUBKEY) || ( \ - $(INSTALL_DIR) $(IDIR_DROPBEAR)/root; \ + $(INSTALL_DIR) $(IDIR_DROPBEAR)/root/.ssh; \ echo $(ADK_RUNTIME_SSH_PUBKEY) \ - >$(IDIR_DROPBEAR)/root/.authorized_keys; \ + >$(IDIR_DROPBEAR)/root/.ssh/authorized_keys; \ ) include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3