Updated Key installer
This commit is contained in:
parent
0f4d0cbc8f
commit
e86467996f
|
@ -1,4 +1,4 @@
|
||||||
# /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Check for .ssh directory
|
# Check for .ssh directory
|
||||||
if [ ! -d ~/.ssh ]; then
|
if [ ! -d ~/.ssh ]; then
|
||||||
|
@ -13,7 +13,7 @@ if [ ! -f ~/.ssh/authorized_keys ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add public key to authorized_keys file
|
# Add public key to authorized_keys file
|
||||||
echo ./id_rsa.pub >> ~/.ssh/authorized_keys
|
echo $"(curl https://git.trtmn.io/trtmn/public-key/raw/branch/main/id_rsa.pub)" >> ~/.ssh/authorized_keys
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user