Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/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