Skip to content

Instantly share code, notes, and snippets.

@chancez
Created January 30, 2014 01:12
Show Gist options
  • Save chancez/8700771 to your computer and use it in GitHub Desktop.
Save chancez/8700771 to your computer and use it in GitHub Desktop.
~/projects/hamper  ± dockerfile  docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c880904a6746 chance/hamper:latest /usr/bin/supervisord 7 seconds ago Up 6 seconds 0.0.0.0:49160->22/tcp insane_torvalds
cae2c6875a64 4816d17dff31 /bin/sh -c pip insta 17 seconds ago Up 16 seconds lonely_ritchie
~/projects/hamper  ± dockerfile  ssh -v root@localhost -p 49160
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/chance/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 49160.
debug1: Connection established.
debug1: identity file /home/chance/.ssh/id_rsa type 1
debug1: identity file /home/chance/.ssh/id_rsa-cert type -1
debug1: identity file /home/chance/.ssh/id_dsa type -1
debug1: identity file /home/chance/.ssh/id_dsa-cert type -1
debug1: identity file /home/chance/.ssh/id_ecdsa type -1
debug1: identity file /home/chance/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA a4:c5:88:06:56:48:00:6b:c4:3d:0d:20:05:a5:a2:9a
debug1: checking without port identifier
The authenticity of host '[localhost]:49160 ([127.0.0.1]:49160)' can't be established.
ECDSA key fingerprint is a4:c5:88:06:56:48:00:6b:c4:3d:0d:20:05:a5:a2:9a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:49160' (ECDSA) to the list of known hosts.
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: /home/chance/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/chance/.ssh/id_dsa
debug1: Trying private key: /home/chance/.ssh/id_ecdsa
debug1: Next authentication method: password
root@localhost's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
root@localhost's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
root@localhost's password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment