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;