Created
May 21, 2014 11:14
-
-
Save kovalevsky/909b7afc69988493a142 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
apps@p2:~$ ls -la /home/apps/.ssh/ | |
total 24 | |
drwx------ 2 apps apps 4096 May 21 14:09 . | |
drwxr-xr-x 29 apps apps 4096 May 21 14:30 .. | |
-rw------- 1 apps apps 1988 May 21 13:35 authorized_keys | |
-rw------- 1 apps apps 1675 May 21 14:09 id_rsa | |
-rw------- 1 apps apps 400 May 21 14:09 id_rsa.pub | |
-rw------- 1 apps apps 1595 May 21 14:28 known_hosts | |
apps@p2:~$ cat /etc/ssh/ssh_config | |
# This is the ssh client system-wide configuration file. See | |
# ssh_config(5) for more information. This file provides defaults for | |
# users, and the values can be changed in per-user configuration files | |
# or on the command line. | |
# Configuration data is parsed as follows: | |
# 1. command line options | |
# 2. user-specific file | |
# 3. system-wide file | |
# Any configuration value is only changed the first time it is set. | |
# Thus, host-specific definitions should be at the beginning of the | |
# configuration file, and defaults at the end. | |
# Site-wide defaults for some commonly used options. For a comprehensive | |
# list of available options, their meanings and defaults, please see the | |
# ssh_config(5) man page. | |
Host * | |
ForwardAgent yes | |
# ForwardX11 no | |
# ForwardX11Trusted yes | |
# RhostsRSAAuthentication no | |
# RSAAuthentication yes | |
# PasswordAuthentication yes | |
# HostbasedAuthentication no | |
# GSSAPIAuthentication no | |
# GSSAPIDelegateCredentials no | |
# GSSAPIKeyExchange no | |
# GSSAPITrustDNS no | |
# BatchMode no | |
# CheckHostIP yes | |
# AddressFamily any | |
# ConnectTimeout 0 | |
# StrictHostKeyChecking ask | |
# IdentityFile ~/.ssh/identity | |
# IdentityFile ~/.ssh/id_rsa | |
# IdentityFile ~/.ssh/id_dsa | |
# Port 22 | |
# Protocol 2,1 | |
# Cipher 3des | |
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc | |
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 | |
# EscapeChar ~ | |
# Tunnel no | |
# TunnelDevice any:any | |
# PermitLocalCommand no | |
# VisualHostKey no | |
# ProxyCommand ssh -q -W %h:%p gateway.example.com | |
SendEnv LANG LC_* | |
HashKnownHosts no | |
GSSAPIAuthentication yes | |
GSSAPIDelegateCredentials no | |
apps@p2:~$ ssh -Tv git@github.com | |
OpenSSH_5.5p1 Debian-6+squeeze5, OpenSSL 0.9.8o 01 Jun 2010 | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: Applying options for * | |
debug1: Connecting to github.com [192.30.252.130] port 22. | |
debug1: Connection established. | |
debug1: identity file /home/apps/.ssh/id_rsa type 1 | |
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 | |
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 | |
debug1: identity file /home/apps/.ssh/id_rsa-cert type -1 | |
debug1: identity file /home/apps/.ssh/id_dsa type -1 | |
debug1: identity file /home/apps/.ssh/id_dsa-cert type -1 | |
debug1: Remote protocol version 2.0, remote software version libssh-0.6.0 | |
debug1: no match: libssh-0.6.0 | |
debug1: Enabling compatibility mode for protocol 2.0 | |
debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze5 | |
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: Host 'github.com' is known and matches the RSA host key. | |
debug1: Found key in /home/apps/.ssh/known_hosts:1 | |
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 public key: /home/apps/.ssh/id_rsa | |
debug1: Authentications that can continue: publickey | |
debug1: Trying private key: /home/apps/.ssh/id_dsa | |
debug1: No more authentication methods to try. | |
Permission denied (publickey). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment