From b717e2b7ee921f542cbb48a5827ecdbb5189e9fc Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Thu, 6 Feb 2025 12:52:00 +0100 Subject: [PATCH] Modifying ssh keys --- .../component-installer/provision_ogrepository.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/non_graf_installer/component-installer/provision_ogrepository.sh b/non_graf_installer/component-installer/provision_ogrepository.sh index 8612dac..6f94c2f 100644 --- a/non_graf_installer/component-installer/provision_ogrepository.sh +++ b/non_graf_installer/component-installer/provision_ogrepository.sh @@ -39,9 +39,9 @@ add_user_ogrepository() { fi if [ ! -d $OGUSER_HOME/.ssh ] ; then mkdir -p $OGUSER_HOME/.ssh - cp ssh-keys/opengnsys $OGUSER_HOME/.ssh/id_ed25519 - cp ssh-keys/opengnsys.pub $OGUSER_HOME/.ssh/id_ed25519.pub - cat ssh-keys/opengnsys.pub >> $OGUSER_HOME/.ssh/authorized_keys + cp /tmp/oginstall/ssh-keys/opengnsys $OGUSER_HOME/.ssh/id_ed25519 + cp /tmp/oginstall/ssh-keys/opengnsys.pub $OGUSER_HOME/.ssh/id_ed25519.pub + cat /tmp/oginstall/ssh-keys/opengnsys.pub >> $OGUSER_HOME/.ssh/authorized_keys chown -R $OGUSER:$OGUSER $OGUSER_HOME/.ssh chmod 0600 $OGUSER_HOME/.ssh/*