Skip to content

Instantly share code, notes, and snippets.

@sheafk
Created August 10, 2016 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheafk/a6a50a18aecd75249bd54bf57269a061 to your computer and use it in GitHub Desktop.
Save sheafk/a6a50a18aecd75249bd54bf57269a061 to your computer and use it in GitHub Desktop.
/Users/flatironschool/.ssh
[15:01:23] .ssh
// ♥ ssh-add -D
All identities removed.
[15:01:53] .ssh
// ♥ ssh git@github.com
Permission denied (publickey).
[15:01:57] .ssh
// ♥ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/flatironschool/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/flatironschool/.ssh/id_rsa.
Your public key has been saved in /Users/flatironschool/.ssh/id_rsa.pub.
The key fingerprint is:
//Code Removed
// ♥ ls
id_rsa id_rsa.pub known_hosts
[15:02:34] .ssh
// ♥ cat id_rsa.pub | pbcopy
[15:02:39] .ssh
// ♥ ssh git@github.com
PTY allocation request failed on channel 0
Hi sheafk! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment