|
|
@ -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; |
|
|
|
exit 99; |