SERVER OUTPUT ============= # /usr/lib/ssh/sshd -ddd -p 2222 debug1: sshd version Sun_SSH_1.1 debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #0 type 1 RSA debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: Bind to port 2222 on 0.0.0.0. Server listening on 0.0.0.0 port 2222. debug1: Server will not fork when running in debugging mode. Connection from 172.16.22.12 port 35927 debug1: Client protocol version 2.0; client software version Sun_SSH_1.1 debug1: no match: Sun_SSH_1.1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-Sun_SSH_1.1 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc debug2: kex_parse_kexinit: aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: i-default debug2: kex_parse_kexinit: i-default debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible Unknown code 0 ) debug1: SSH2_MSG_KEXINIT sent debug3: kex_reset_dispatch -- should we dispatch_set(KEXINIT) here? 0 && !0 debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc debug2: kex_parse_kexinit: aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: i-default debug2: kex_parse_kexinit: i-default debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc debug2: kex_parse_kexinit: aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: i-default debug2: kex_parse_kexinit: i-default debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_init: found hmac-md5 debug1: kex: client->server aes128-ctr hmac-md5 none debug2: mac_init: found hmac-md5 debug1: kex: server->client aes128-ctr hmac-md5 none debug1: Peer sent proposed langtags, ctos: i-default debug1: Peer sent proposed langtags, stoc: i-default debug1: We proposed langtags, ctos: i-default debug1: We proposed langtags, stoc: i-default debug1: Negotiated main locale: C debug1: Negotiated messages locale: C debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug1: dh_gen_key: priv key bits set: 129/256 debug1: bits set: 1592/3191 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug1: bits set: 1589/3191 debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug2: kex_derive_keys debug3: kex_reset_dispatch -- should we dispatch_set(KEXINIT) here? 0 && !0 debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user sstallion service ssh-connection method none debug1: attempt 0 initial attempt 0 failures 0 initial failures 0 debug2: input_userauth_request: setting up authctxt for sstallion debug2: input_userauth_request: try method none Failed none for sstallion from 172.16.22.12 port 35927 ssh2 debug1: userauth-request for user sstallion service ssh-connection method publickey debug1: attempt 1 initial attempt 0 failures 1 initial failures 0 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 10000/10000 (e=0/0) debug1: trying public key file /home/sstallion/.ssh/authorized_keys debug3: secure_filename: checking '/home/sstallion/.ssh' debug3: secure_filename: checking '/home/sstallion' debug3: secure_filename: terminating check at '/home/sstallion' debug1: matching key found: file /home/sstallion/.ssh/authorized_keys, line 1 Found matching RSA key: c6:d7:84:2b:40:6f:d4:31:72:b1:d3:fa:78:fd:65:3e debug1: restore_uid: 0/0 debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa debug1: userauth-request for user sstallion service ssh-connection method publickey debug1: attempt 2 initial attempt 0 failures 1 initial failures 0 debug2: input_userauth_request: try method publickey debug1: temporarily_use_uid: 10000/10000 (e=0/0) debug1: trying public key file /home/sstallion/.ssh/authorized_keys debug3: secure_filename: checking '/home/sstallion/.ssh' debug3: secure_filename: checking '/home/sstallion' debug3: secure_filename: terminating check at '/home/sstallion' debug1: matching key found: file /home/sstallion/.ssh/authorized_keys, line 1 Found matching RSA key: c6:d7:84:2b:40:6f:d4:31:72:b1:d3:fa:78:fd:65:3e debug1: restore_uid: 0/0 debug1: ssh_rsa_verify: signature correct debug2: Starting PAM service sshd-pubkey for method publickey debug3: Trying to reverse map address 172.16.22.12. debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa Failed publickey for sstallion from 172.16.22.12 port 35927 ssh2 debug1: userauth-request for user sstallion service ssh-connection method publickey debug1: attempt 3 initial attempt 0 failures 3 initial failures 0 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 10000/10000 (e=0/0) debug1: trying public key file /home/sstallion/.ssh/authorized_keys debug3: secure_filename: checking '/home/sstallion/.ssh' debug3: secure_filename: checking '/home/sstallion' debug3: secure_filename: terminating check at '/home/sstallion' debug1: matching key found: file /home/sstallion/.ssh/authorized_keys, line 1 Found matching RSA key: c6:d7:84:2b:40:6f:d4:31:72:b1:d3:fa:78:fd:65:3e debug1: restore_uid: 0/0 debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa debug1: userauth-request for user sstallion service ssh-connection method publickey debug1: attempt 4 initial attempt 0 failures 3 initial failures 0 debug2: input_userauth_request: try method publickey debug1: temporarily_use_uid: 10000/10000 (e=0/0) debug1: trying public key file /home/sstallion/.ssh/authorized_keys debug3: secure_filename: checking '/home/sstallion/.ssh' debug3: secure_filename: checking '/home/sstallion' debug3: secure_filename: terminating check at '/home/sstallion' debug1: matching key found: file /home/sstallion/.ssh/authorized_keys, line 1 Found matching RSA key: c6:d7:84:2b:40:6f:d4:31:72:b1:d3:fa:78:fd:65:3e debug1: restore_uid: 0/0 debug1: ssh_rsa_verify: signature correct debug2: Starting PAM service sshd-pubkey for method publickey debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa Failed publickey for sstallion from 172.16.22.12 port 35927 ssh2 debug1: userauth-request for user sstallion service ssh-connection method keyboard-interactive debug1: attempt 5 initial attempt 0 failures 5 initial failures 0 debug2: input_userauth_request: try method keyboard-interactive debug1: keyboard-interactive devs debug2: Starting PAM service sshd-kbdint for method keyboard-interactive debug2: Calling pam_authenticate() debug2: PAM echo off prompt: Password: debug2: Nesting dispatch_run loop CLIENT OUTPUT ============= [sstallion@devel]:~> ssh -v -p 2222 mail Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to mail [172.16.22.11] port 2222. debug1: Connection established. debug1: identity file /home/sstallion/.ssh/identity type 1 debug1: identity file /home/sstallion/.ssh/id_rsa type 1 debug1: identity file /home/sstallion/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1 debug1: no match: Sun_SSH_1.1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-Sun_SSH_1.1 debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible Unknown code 0 ) 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: Peer sent proposed langtags, ctos: i-default debug1: Peer sent proposed langtags, stoc: i-default debug1: We proposed langtags, ctos: i-default debug1: We proposed langtags, stoc: i-default debug1: Negotiated lang: i-default debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: Remote: Negotiated main locale: C debug1: Remote: Negotiated messages locale: C debug1: dh_gen_key: priv key bits set: 136/256 debug1: bits set: 1589/3191 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'mail' is known and matches the RSA host key. debug1: Found key in /home/sstallion/.ssh/known_hosts:2 debug1: bits set: 1592/3191 debug1: ssh_rsa_verify: signature correct debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: done: ssh_kex2. debug1: send SSH2_MSG_SERVICE_REQUEST debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Next authentication method: gssapi-keyex debug1: Next authentication method: gssapi-with-mic debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible Unknown code 0 ) debug1: Next authentication method: publickey debug1: Trying public key: /home/sstallion/.ssh/identity debug1: Server accepts key: pkalg ssh-rsa blen 149 lastkey 80a8958 hint 0 debug1: read PEM private key done: type RSA debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Trying public key: /home/sstallion/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 149 lastkey 80a8910 hint 1 debug1: read PEM private key done: type RSA debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Trying private key: /home/sstallion/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive Password: