-
-
Save Parmendrak/3598b00ef4cd247058fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Fri May 8 20:16:57 on ttys000 | |
ShrutiMac:~ 360_macmini$ ls -al ~/.ssh | |
total 24 | |
drwx------ 5 360_macmini staff 170 May 8 20:25 . | |
drwxr-xr-x+ 56 360_macmini staff 1904 May 8 13:34 .. | |
-rw------- 1 360_macmini staff 1766 May 8 20:25 id_rsa | |
-rw-r--r-- 1 360_macmini staff 404 May 8 20:25 id_rsa.pub | |
-rw-r--r-- 1 360_macmini staff 803 May 8 20:20 known_hosts | |
ShrutiMac:~ 360_macmini$ ssh-keygen -t rsa -C "parmendrak@360logica.com" | |
Generating public/private rsa key pair. | |
Enter file in which to save the key (/Users/360_macmini/.ssh/id_rsa): | |
/Users/360_macmini/.ssh/id_rsa already exists. | |
Overwrite (y/n)? Y | |
Enter passphrase (empty for no passphrase): | |
Enter same passphrase again: | |
Your identification has been saved in /Users/360_macmini/.ssh/id_rsa. | |
Your public key has been saved in /Users/360_macmini/.ssh/id_rsa.pub. | |
The key fingerprint is: | |
88:49:35:fd:e8:b4:2e:0f:be:72:04:f3:55:b0:03:77 parmendrak@360logica.com | |
The key's randomart image is: | |
+--[ RSA 2048]----+ | |
| +.o.E | | |
| . +.o. | | |
| . o+ | | |
| .oo .+.. | | |
| o+.+S. | | |
| o o | | |
| ... | | |
| ..o.. | | |
| oo+. | | |
+-----------------+ | |
ShrutiMac:~ 360_macmini$ eval "$(ssh-agent -s)" | |
Agent pid 6877 | |
ShrutiMac:~ 360_macmini$ ssh-add ~/.ssh/id_rsa | |
Enter passphrase for /Users/360_macmini/.ssh/id_rsa: | |
Identity added: /Users/360_macmini/.ssh/id_rsa (/Users/360_macmini/.ssh/id_rsa) | |
ShrutiMac:~ 360_macmini$ pbcopy < ~/.ssh/id_rsa.pub | |
ShrutiMac:~ 360_macmini$ ssh -T git@github.com | |
Hi Parmendrak! You've successfully authenticated, but GitHub does not provide shell access. | |
ShrutiMac:~ 360_macmini$ ssh -T git@github.com | |
Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts. | |
Hi Parmendrak! You've successfully authenticated, but GitHub does not provide shell access. | |
ShrutiMac:~ 360_macmini$ echo "$SSH_AUTH_SOCK" | |
/var/folders/58/y67gpq9x4zx44qk4bpvcgb540000gn/T//ssh-qED3Z1wwvi3x/agent.6876 | |
ShrutiMac:~ 360_macmini$ [remote "origin"] | |
-bash: [remote: command not found | |
ShrutiMac:~ 360_macmini$ url = git@github.com:Parmendrak/Parmendra6.git | |
-bash: url: command not found | |
ShrutiMac:~ 360_macmini$ echo "$SSH_AUTH_SOCK" | |
/var/folders/58/y67gpq9x4zx44qk4bpvcgb540000gn/T//ssh-qED3Z1wwvi3x/agent.6876 | |
ShrutiMac:~ 360_macmini$ git@github.com:Parmendrak/Parmendra5.git | |
-bash: git@github.com:Parmendrak/Parmendra5.git: No such file or directory | |
ShrutiMac:~ 360_macmini$ open .git/config | |
The file /Users/360_macmini/.git/config does not exist. | |
ShrutiMac:~ 360_macmini$ open .git | |
The file /Users/360_macmini/.git does not exist. | |
ShrutiMac:~ 360_macmini$ ssh -v github.com | |
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 | |
debug1: Reading configuration data /etc/ssh_config | |
debug1: /etc/ssh_config line 20: Applying options for * | |
debug1: Connecting to github.com [192.30.252.131] port 22. | |
debug1: Connection established. | |
debug1: identity file /Users/360_macmini/.ssh/id_rsa type 1 | |
debug1: identity file /Users/360_macmini/.ssh/id_rsa-cert type -1 | |
debug1: identity file /Users/360_macmini/.ssh/id_dsa type -1 | |
debug1: identity file /Users/360_macmini/.ssh/id_dsa-cert type -1 | |
debug1: Enabling compatibility mode for protocol 2.0 | |
debug1: Local version string SSH-2.0-OpenSSH_6.2 | |
debug1: Remote protocol version 2.0, remote software version libssh-0.6.0 | |
debug1: no match: libssh-0.6.0 | |
debug1: SSH2_MSG_KEXINIT sent | |
debug1: SSH2_MSG_KEXINIT received | |
debug1: kex: server->client aes128-ctr hmac-sha1 none | |
debug1: kex: client->server aes128-ctr hmac-sha1 none | |
debug1: sending SSH2_MSG_KEXDH_INIT | |
debug1: expecting SSH2_MSG_KEXDH_REPLY | |
debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 | |
debug1: Host 'github.com' is known and matches the RSA host key. | |
debug1: Found key in /Users/360_macmini/.ssh/known_hosts:1 | |
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts. | |
debug1: ssh_rsa_verify: signature correct | |
debug1: SSH2_MSG_NEWKEYS sent | |
debug1: expecting SSH2_MSG_NEWKEYS | |
debug1: SSH2_MSG_NEWKEYS received | |
debug1: Roaming not allowed by server | |
debug1: SSH2_MSG_SERVICE_REQUEST sent | |
debug1: SSH2_MSG_SERVICE_ACCEPT received | |
debug1: Authentications that can continue: publickey | |
debug1: Next authentication method: publickey | |
debug1: Offering RSA public key: /Users/360_macmini/.ssh/id_rsa | |
debug1: Authentications that can continue: publickey | |
debug1: Trying private key: /Users/360_macmini/.ssh/id_dsa | |
debug1: No more authentication methods to try. | |
Permission denied (publickey). | |
ShrutiMac:~ 360_macmini$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment