Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab

This commit is contained in:
Joey Hafner 2022-02-25 15:46:08 -08:00
commit 1e8d981d90

View File

@ -2,6 +2,13 @@
Monolithic repository for my homelab
# Getting an SSH Key
1. `TMP=$(echo "$HOME/.ssh/$(echo $HOSTNAME)_id_rsa") && ssh-keygen -b 8192 -t rsa -C "$USER@$HOSTNAME" -f $TMP -N "" && echo "IdentityFile $TMP" > $HOME/.ssh/config && cat $(echo "$TMP").pub`
2. Go to Jafner -> Preferences -> SSH Keys.
3. Add the pubkey and save.
# Pulling Only Relevant Subdir
Per: https://stackoverflow.com/questions/4114887