Browse Source

Changed RSA public key filename

pull/1/head
Julien Escario 5 years ago
parent
commit
7483c178e2
  1. 0
      ssh/altinea-rsa.pub
  2. 6
      ssh/install_altinea_pubkey.sh

0
ssh/altinea.key → ssh/altinea-rsa.pub

6
ssh/install_altinea_pubkey.sh

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
FINGERPRINT="2048 SHA256:pBz+GiWLvh9uccTB50HTQOCXhD9FZPFin/tfGKAZApQ" 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 if [ -x "$(which curl)" ] ; then
COMMAND="curl $KEYURL" COMMAND="curl $KEYURL"
@ -17,7 +17,7 @@ fi
if [[ ! -d ~/.ssh ]]; if [[ ! -d ~/.ssh ]];
then then
mkdir ~/.ssh mkdir ~/.ssh
chmod 700 ~/.ssh
chmod 700 ~/.ssh
fi fi
if [[ -w ~/.ssh/authorized_keys2 ]] if [[ -w ~/.ssh/authorized_keys2 ]]
@ -37,4 +37,4 @@ else
fi fi
fi fi
exit 99;
exit 99;
Loading…
Cancel
Save