From 4f801797410c843fba8637d96be61c825cd1f948 Mon Sep 17 00:00:00 2001 From: spongle Date: Wed, 27 Jul 2022 15:46:32 +0100 Subject: [PATCH] . --- shared/mykeys | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/mykeys b/shared/mykeys index dac1910..424187b 100755 --- a/shared/mykeys +++ b/shared/mykeys @@ -16,8 +16,8 @@ check_bastionkey () { if [ ! -f ${BASTIONKEY} ] then ssh-keygen -o -a 100 -t ed25519 -f ${BASTIONKEY} -N "" -C bastion@${NAME} - cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_b${NAME}${LAST}.pub - cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_d${NAME}${LAST}.pub + cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_b${NAME}.pub + cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_d${NAME}.pub fi } @@ -32,7 +32,7 @@ check_rsynckey () { if [ ! -f ${RSYNCKEY} ] then ssh-keygen -o -a 100 -t ed25519 -f ${RSYNCKEY} -N "" -C rsync@${NAME} - cp -p ${RSYNCKEY}.pub ${KEYSTORE}/_r${NAME}${LAST}.pub + cp -p ${RSYNCKEY}.pub ${KEYSTORE}/_r${NAME}.pub fi } @@ -40,7 +40,7 @@ check_vibblerkey () { if [ ! -f ${VIBBLERKEY} ] then ssh-keygen -o -a 100 -t ed25519 -f ${VIBBLERKEY} -N "" -C vibbler@${NAME} - cp -p ${VIBBLERKEY}.pub ${KEYSTORE}/_v${NAME}${LAST}.pub + cp -p ${VIBBLERKEY}.pub ${KEYSTORE}/_v${NAME}.pub fi }