Skip to content

Instantly share code, notes, and snippets.

@sfc-gh-eraigosa
Created November 7, 2014 22:55
Show Gist options
  • Save sfc-gh-eraigosa/da4bd5a4e8d76fec8381 to your computer and use it in GitHub Desktop.
Save sfc-gh-eraigosa/da4bd5a4e8d76fec8381 to your computer and use it in GitHub Desktop.
ssh test
ssh -v stanley@localhost -i ./stanley_rsa
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug1: identity file ./stanley_rsa type 1
debug1: identity file ./stanley_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA 92:56:ec:62:6a:58:0f:bc:39:d3:a3:0c:9a:3b:4f:77
debug1: Host 'localhost' is known and matches the ECDSA host key.
debug1: Found key in /home/stanley/.ssh/known_hosts:1
debug1: ssh_ecdsa_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,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: ./stanley_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to localhost ([::1]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.11.0-26-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Fri Nov 7 22:54:16 2014 from localhost
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to localhost closed.
Transferred: sent 3624, received 2732 bytes, in 0.0 seconds
Bytes per second: sent 380156.0, received 286585.6
debug1: Exit status 254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment