SSH
Information about SSH.
SSH can be a little tricky. Below I have the various things I have come across to help me out. Most commands currently are for Mac, once I mess with Windows more I will update.
Resources
Traversy Media Video
GitLab Docs
SSH version installed on your system
$ ssh -V
Create an SSH Key
Run the following command and pick all the defaults to the prompts. This tutorial doesn't explain how to use passphrases.
$ ssh-keygen

Add SSH Key To GitHub or GitLab
Test SSH Connection
The following commands should say Hello or Welcome followed by your username if you set everything up correctly. Learn more at the GitLab Docs or GitHub Docs.
$ ssh -T git@github.com
$ ssh -T git@gitlab.com
Are you still getting Permission Denied?
$ ssh-add ~/.ssh/SSH_FILENAME
Last updated
Was this helpful?