Update README.md

This commit is contained in:
Joey Hafner 2022-02-25 23:42:12 +00:00
parent 4cbee655ab
commit cb49cc23a1

View File

@ -3,7 +3,7 @@
Monolithic repository for my homelab Monolithic repository for my homelab
# Getting an SSH Key # 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 "" && cat $(echo "$TMP").pub` 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. 2. Go to Jafner -> Preferences -> SSH Keys.
3. Add the pubkey and save. 3. Add the pubkey and save.