Updated Key installer
This commit is contained in:
parent
0f4d0cbc8f
commit
e86467996f
|
@ -1,4 +1,4 @@
|
|||
# /bin/sh
|
||||
#! /bin/sh
|
||||
|
||||
# Check for .ssh directory
|
||||
if [ ! -d ~/.ssh ]; then
|
||||
|
@ -13,7 +13,7 @@ if [ ! -f ~/.ssh/authorized_keys ]; then
|
|||
fi
|
||||
|
||||
# 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