Skip to content

Instantly share code, notes, and snippets.

@s-chb
Created June 9, 2020 08:53
Show Gist options
  • Save s-chb/a3b0218a634544f708e1eb33fb060d87 to your computer and use it in GitHub Desktop.
Save s-chb/a3b0218a634544f708e1eb33fb060d87 to your computer and use it in GitHub Desktop.
# Start the SSH-Agent:
ssh-agent -s
# Add your private key that allows you to access your infrastructure
ssh-add -k ~/.ssh/cloud-infra-key.pem
# list the ssh-keys currently available in the ssh-agent
ssh-add -l
# additionally, you can remove a key from the ssh-agent using the following command
ssh-add -d ~/.ssh/cloud-infra-key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment