add instructions to get ssh keys

main
Andrew Coleman 2022-11-09 09:21:16 -05:00
parent a6b76e17c5
commit 5137388501
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,14 @@ bw login
echo "export BW_SESSION=$(bw unlock --raw)" > "$HOME/.config/bash/bitwarden.sh" echo "export BW_SESSION=$(bw unlock --raw)" > "$HOME/.config/bash/bitwarden.sh"
source "$HOME/.config/bash/bitwarden.sh" source "$HOME/.config/bash/bitwarden.sh"
bw sync bw sync
bw get attachment b0b0262ab221403d91ef --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/github
bw get attachment 2731fbaa949e3d6477e7 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/github.pub
bw get attachment c29bed4bb96410e1d50b --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/gitea
bw get attachment ac30a1167c11c2a9a2c0 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/gitea.pub
bw get attachment 56706aa722971d4bc030 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/selfhosted
bw get attachment 9b882f99ef5abce6fb85 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/selfhosted.pub
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*
``` ```
# Kitty # Kitty