Skip to content

Instantly share code, notes, and snippets.

@ddeveloperr
Last active October 22, 2015 08:07
Show Gist options
  • Select an option

  • Save ddeveloperr/05d25b373202ad17226b to your computer and use it in GitHub Desktop.

Select an option

Save ddeveloperr/05d25b373202ad17226b to your computer and use it in GitHub Desktop.
How to see your ssh public kay in terminal and connect it with github!
1. Check for SSH keys
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
2. See it in terminal
$ cat ~/.ssh/id_dsa.pub
3. Copy your public key and paste it to github, gitbucket...
4. Test the connection
$ ssh -T git@github.com
See more details : https://help.github.com/articles/generating-ssh-keys/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment