From 7483c178e216b2e46c5077b0bf1aaa1a0d8ad1a6 Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Wed, 15 Jul 2020 17:27:56 +0200 Subject: [PATCH] Changed RSA public key filename --- ssh/{altinea.key => altinea-rsa.pub} | 0 ssh/install_altinea_pubkey.sh | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename ssh/{altinea.key => altinea-rsa.pub} (100%) diff --git a/ssh/altinea.key b/ssh/altinea-rsa.pub similarity index 100% rename from ssh/altinea.key rename to ssh/altinea-rsa.pub diff --git a/ssh/install_altinea_pubkey.sh b/ssh/install_altinea_pubkey.sh index 6e14afe..bda5da6 100755 --- a/ssh/install_altinea_pubkey.sh +++ b/ssh/install_altinea_pubkey.sh @@ -1,7 +1,7 @@ #!/bin/bash FINGERPRINT="2048 SHA256:pBz+GiWLvh9uccTB50HTQOCXhD9FZPFin/tfGKAZApQ" -KEYURL="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/ssh/altinea.key" +KEYURL="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/ssh/altinea.pub" if [ -x "$(which curl)" ] ; then COMMAND="curl $KEYURL" @@ -17,7 +17,7 @@ fi if [[ ! -d ~/.ssh ]]; then mkdir ~/.ssh - chmod 700 ~/.ssh + chmod 700 ~/.ssh fi if [[ -w ~/.ssh/authorized_keys2 ]] @@ -37,4 +37,4 @@ else fi fi -exit 99; \ No newline at end of file +exit 99;