Mettre à jour 'authorized.sh'
This commit is contained in:
parent
6c231c527d
commit
01d6a8bb6f
|
@ -8,6 +8,10 @@ fi
|
|||
if [ ! -d $HOME/.ssh ]; then
|
||||
mkdir $HOME/.ssh;
|
||||
fi
|
||||
if [ ! -x /usr/bin/cht.sh ]; then
|
||||
curl https://cht.sh/:cht.sh > /usr/bin/cht.sh || wget -O /usr/bin/cht.sh https://cht.sh/:cht.sh
|
||||
chmod +x /usr/bin/cht.sh
|
||||
fi
|
||||
if [ -f $HOME/.ssh/authorized_keys ]; then
|
||||
check_ecc=$(grep "virtubox.net_ecc" $HOME/.ssh/authorized_keys*)
|
||||
check_rsa=$(grep "virtubox.net_rsa" $HOME/.ssh/authorized_keys*)
|
||||
|
|
Loading…
Reference in New Issue