Skip to content

Commit

Permalink
Revert "delete keys first"
Browse files Browse the repository at this point in the history
This reverts commit 4f8ca89.
  • Loading branch information
Shawn Koonin committed Nov 15, 2021
1 parent 4f8ca89 commit 370bf07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/add_ssh_key_to_agent
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ echo "$NEW_SSH_KEY" > ~/.ssh/"$NEW_SSH_KEY_NAME"
chmod 0600 ~/.ssh/"$NEW_SSH_KEY_NAME"

# Add new key to Agent
echo "Deleting keys and adding new key"
ssh-add -D
ssh-add ~/.ssh/"$NEW_SSH_KEY_NAME"
ssh-add -l

0 comments on commit 370bf07

Please sign in to comment.