Skip to content

Instantly share code, notes, and snippets.

@roylee0704
Last active September 27, 2016 08:47
Show Gist options
  • Save roylee0704/e1deefaa8a53da17bf750ca9ae67d762 to your computer and use it in GitHub Desktop.
Save roylee0704/e1deefaa8a53da17bf750ca9ae67d762 to your computer and use it in GitHub Desktop.
add ssh credentials
# most restrictive for pem file.
chmod 400 path/to/your/.pem
# to add your .pem file to ~/.ssh/
ssh-add path/to/your/.pem
# e.g: login to gobike-api-dev environment, it reads from your /.ssh dir
eb ssh gobike-api-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment