Updated Key installer

This commit is contained in:
Matt Troutman 2024-08-29 11:33:57 -05:00
parent 0f4d0cbc8f
commit e86467996f
Signed by: trtmn
SSH Key Fingerprint: SHA256:cgYdsbnbA0S6X4anVowEAntjEpGV7nMyk2NW6ZYoNjE

View File

@ -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