Hello James,

P.S.

I ran sshd -d on that Solaris box:

This is with normal scp:

bash-2.05# /usr/lib/ssh/sshd -d
debug1: sshd version Sun_SSH_1.0
debug1: Bad RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read SSH2 private key done: name rsa w/o comment success 1
debug1: load_private_key_autodetect: type 1 RSA
debug1: Bad RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read SSH2 private key done: name dsa w/o comment success 1
debug1: load_private_key_autodetect: type 2 DSA
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
debug1: Server will not fork when running in debugging mode.
Connection from 9.156.46.29 port 37131
debug1: Client protocol version 2.0; client software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.0
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: sent kexinit: diffie-hellman-group1-sha1
debug1: sent kexinit: ssh-rsa,ssh-dss
debug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
debug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
debug1: sent kexinit: hmac-sha1,hmac-md5
debug1: sent kexinit: hmac-sha1,hmac-md5
debug1: sent kexinit: none,zlib
debug1: sent kexinit: none,zlib
debug1: sent kexinit: C,geo,lcttab,iso_8859_15,iso_8859_1,iso_8859_2,hi_IN.UTF-8,cs_CZ,cs_CZ.ISO8859-2,cz,de,de.ISO8859-15,de.UTF-8,de_AT,de_AT.ISO8859-1,de_AT.ISO8859-15,de_at.iso8859...@euro,de_CH,de_CH.ISO8859-1,de_DE,de_DE.ISO8859-1,de_DE.ISO8859-15,de_de.iso8859...@euro,de_DE.UTF-8,de_de.ut...@euro,fr,fr_CH,fr_CH.ISO8859-1,hu,hu_HU,hu_HU.ISO8859-2,pl,pl.UTF-8,pl_PL,pl_PL.ISO8859-2,pl_PL.UTF-8,sk_SK,sk_SK.ISO8859-2,th,th_TH,th_TH.ISO8859-11,th_TH.TIS620,th_TH.UTF-8 debug1: sent kexinit: C,geo,lcttab,iso_8859_15,iso_8859_1,iso_8859_2,hi_IN.UTF-8,cs_CZ,cs_CZ.ISO8859-2,cz,de,de.ISO8859-15,de.UTF-8,de_AT,de_AT.ISO8859-1,de_AT.ISO8859-15,de_at.iso8859...@euro,de_CH,de_CH.ISO8859-1,de_DE,de_DE.ISO8859-1,de_DE.ISO8859-15,de_de.iso8859...@euro,de_DE.UTF-8,de_de.ut...@euro,fr,fr_CH,fr_CH.ISO8859-1,hu,hu_HU,hu_HU.ISO8859-2,pl,pl.UTF-8,pl_PL,pl_PL.ISO8859-2,pl_PL.UTF-8,sk_SK,sk_SK.ISO8859-2,th,th_TH,th_TH.ISO8859-11,th_TH.TIS620,th_TH.UTF-8
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug1: got kexinit: ssh-rsa,ssh-dss
debug1: got kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug1: got kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug1: got kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96 debug1: got kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug1: got kexinit: none,z...@openssh.com,zlib
debug1: got kexinit: none,z...@openssh.com,zlib
debug1: got kexinit:
debug1: got kexinit:
debug1: first kex follow: 0
debug1: reserved: 0
debug1: done
debug1: kex: client->server unable to decide common locale
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client unable to decide common locale
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: bits set: 492/1024
debug1: Wait SSH2_MSG_KEXDH_INIT.
debug1: bits set: 529/1024
debug1: send SSH2_MSG_NEWKEYS.
debug1: done: send SSH2_MSG_NEWKEYS.
debug1: Wait SSH2_MSG_NEWKEYS.
debug1: GOT SSH2_MSG_NEWKEYS.
debug1: done: KEX2.
debug1: options.max_auth_tries = 6
debug1: userauth-request for user root service ssh-connection method none
debug1: attempt 0 failures 0
debug1: Starting up PAM with username "root"
debug1: PAM Password authentication for "root" failed[9]: Authentication failed
Failed none for root from 9.156.46.29 port 37131 ssh2
debug1: options.max_auth_tries = 6
debug1: userauth-request for user root service ssh-connection method publickey
debug1: attempt 1 failures 1
debug1: test whether pkalg/pkblob are acceptable
debug1: matching key found: file //.ssh/authorized_keys, line 2
Could not reverse map address ::ffff:9.156.46.29.
debug1: PAM setting rhost to "9.156.46.29"
debug1: PAM setting user to "root"
Postponed publickey for root from 9.156.46.29 port 37131 ssh2
debug1: options.max_auth_tries = 6
debug1: userauth-request for user root service ssh-connection method publickey
debug1: attempt 2 failures 1
debug1: matching key found: file //.ssh/authorized_keys, line 2
debug1: len 55 datafellows 0
debug1: ssh_dss_verify: signature correct
debug1: PAM setting rhost to "9.156.46.29"
debug1: PAM setting user to "root"
Accepted publickey for root from 9.156.46.29 port 37131 ssh2
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 2097152 max 32768
debug1: input_session_request
debug1: channel 0: new [server-session]
debug1: session_new: init
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open:confirm session
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request env reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request env reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request exec reply 0
debug1: PAM establishing creds
debug1: fd 10 setting O_NONBLOCK
debug1: fd 10 IS O_NONBLOCK
debug1: fd 12 setting O_NONBLOCK
debug1: channel 0: rcvd eof
debug1: channel 0: output open->drain
debug1: channel 0: obuf empty
debug1: channel 0: output drain->closed
debug1: channel 0: close_write
debug1: Received SIGCHLD.
debug1: tvp!= NULL kid 1 mili 100
debug1: session_by_pid: pid 22818
debug1: session_exit_message: session 0 channel 0 pid 22818
debug1: session_exit_message: release channel 0
debug1: session_free: session 0 pid 22818
debug1: channel 0: read<=0 rfd 10 len 0
debug1: channel 0: read failed
debug1: channel 0: input open->drain
debug1: channel 0: close_read
debug1: channel 0: input: no drain shortcut
debug1: channel 0: ibuf empty
debug1: channel 0: input drain->closed
debug1: channel 0: send eof
debug1: channel 0: closing efd 12
debug1: channel 0: send close
debug1: channel 0: rcvd close
debug1: channel 0: full closed2
debug1: channel_free: channel 0: status: The following connections are open:
  #0 server-session (t4 r0 i8/0 o128/0 fd 10/10)

Connection closed by remote host.











This is with paramiko:


bash-2.05# /usr/lib/ssh/sshd -d
debug1: sshd version Sun_SSH_1.0
debug1: Bad RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read SSH2 private key done: name rsa w/o comment success 1
debug1: load_private_key_autodetect: type 1 RSA
debug1: Bad RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read SSH2 private key done: name dsa w/o comment success 1
debug1: load_private_key_autodetect: type 2 DSA
debug1: Bind to port 22 on ::.
Server listening on :: port 22.



debug1: Server will not fork when running in debugging mode.
Connection from 9.156.46.29 port 37132
debug1: Client protocol version 2.0; client software version paramiko_1.7.6
debug1: no match: paramiko_1.7.6
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.0
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: sent kexinit: diffie-hellman-group1-sha1
debug1: sent kexinit: ssh-rsa,ssh-dss
debug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
debug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
debug1: sent kexinit: hmac-sha1,hmac-md5
debug1: sent kexinit: hmac-sha1,hmac-md5
debug1: sent kexinit: none,zlib
debug1: sent kexinit: none,zlib
debug1: sent kexinit: C,geo,lcttab,iso_8859_15,iso_8859_1,iso_8859_2,hi_IN.UTF-8,cs_CZ,cs_CZ.ISO8859-2,cz,de,de.ISO8859-15,de.UTF-8,de_AT,de_AT.ISO8859-1,de_AT.ISO8859-15,de_at.iso8859...@euro,de_CH,de_CH.ISO8859-1,de_DE,de_DE.ISO8859-1,de_DE.ISO8859-15,de_de.iso8859...@euro,de_DE.UTF-8,de_de.ut...@euro,fr,fr_CH,fr_CH.ISO8859-1,hu,hu_HU,hu_HU.ISO8859-2,pl,pl.UTF-8,pl_PL,pl_PL.ISO8859-2,pl_PL.UTF-8,sk_SK,sk_SK.ISO8859-2,th,th_TH,th_TH.ISO8859-11,th_TH.TIS620,th_TH.UTF-8 debug1: sent kexinit: C,geo,lcttab,iso_8859_15,iso_8859_1,iso_8859_2,hi_IN.UTF-8,cs_CZ,cs_CZ.ISO8859-2,cz,de,de.ISO8859-15,de.UTF-8,de_AT,de_AT.ISO8859-1,de_AT.ISO8859-15,de_at.iso8859...@euro,de_CH,de_CH.ISO8859-1,de_DE,de_DE.ISO8859-1,de_DE.ISO8859-15,de_de.iso8859...@euro,de_DE.UTF-8,de_de.ut...@euro,fr,fr_CH,fr_CH.ISO8859-1,hu,hu_HU,hu_HU.ISO8859-2,pl,pl.UTF-8,pl_PL,pl_PL.ISO8859-2,pl_PL.UTF-8,sk_SK,sk_SK.ISO8859-2,th,th_TH,th_TH.ISO8859-11,th_TH.TIS620,th_TH.UTF-8
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
debug1: got kexinit: ssh-rsa,ssh-dss
debug1: got kexinit: arcfour128,blowfish-cbc,aes128-ctr,aes256-ctr,aes128-cbc,blowfish-cbc,aes256-cbc,3des-cbc,arcfour128,arcfour256 debug1: got kexinit: arcfour128,blowfish-cbc,aes128-ctr,aes256-ctr,aes128-cbc,blowfish-cbc,aes256-cbc,3des-cbc,arcfour128,arcfour256
debug1: got kexinit: hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96
debug1: got kexinit: hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96
debug1: got kexinit: none
debug1: got kexinit: none
debug1: got kexinit:
debug1: got kexinit:
debug1: first kex follow: 0
debug1: reserved: 0
debug1: done
debug1: kex: client->server unable to decide common locale
debug1: kex: client->server blowfish-cbc hmac-sha1 none
debug1: kex: server->client unable to decide common locale
debug1: kex: server->client blowfish-cbc hmac-sha1 none
debug1: bits set: 504/1024
debug1: Wait SSH2_MSG_KEXDH_INIT.
debug1: bits set: 509/1024
debug1: send SSH2_MSG_NEWKEYS.
debug1: done: send SSH2_MSG_NEWKEYS.
debug1: Wait SSH2_MSG_NEWKEYS.
debug1: GOT SSH2_MSG_NEWKEYS.
debug1: done: KEX2.
debug1: options.max_auth_tries = 6
debug1: userauth-request for user root service ssh-connection method password
debug1: attempt 0 failures 0
debug1: Starting up PAM with username "root"
debug1: PAM Password authentication accepted for user "root"
Could not reverse map address ::ffff:9.156.46.29.
debug1: PAM setting rhost to "9.156.46.29"
debug1: PAM setting user to "root"
Accepted password for root from 9.156.46.29 port 37132 ssh2
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 1 win 65536 max 34816
debug1: input_session_request
debug1: channel 0: new [server-session]
debug1: session_new: init
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open:confirm session
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request exec reply 1
debug1: PAM establishing creds
debug1: Received SIGCHLD.
debug1: fd 9 setting O_NONBLOCK
debug1: fd 9 IS O_NONBLOCK
debug1: fd 11 setting O_NONBLOCK
debug1: tvp!= NULL kid 1 mili 100
debug1: session_by_pid: pid 22821
debug1: session_exit_message: session 0 channel 0 pid 22821
debug1: session_exit_message: release channel 0
debug1: channel 0: write failed
debug1: channel 0: output open->closed
debug1: channel 0: close_write
debug1: session_free: session 0 pid 22821
debug1: channel 0: read<=0 rfd 9 len 0
debug1: channel 0: read failed
debug1: channel 0: input open->drain
debug1: channel 0: close_read
debug1: channel 0: input: no drain shortcut
debug1: channel 0: ibuf empty
debug1: channel 0: input drain->closed
debug1: channel 0: send eof
debug1: channel 0: send close
debug1: channel 0: closing efd 11
debug1: channel 0: rcvd eof
debug1: channel 0: rcvd close
debug1: server_input_channel_open: ctype session rchan 2 win 65536 max 34816
debug1: input_session_request
debug1: channel 1: new [server-session]
debug1: session_new: session 0
debug1: session_open: channel 1
debug1: session_open: session 0: link with channel 1
debug1: server_input_channel_open:confirm session
debug1: channel 0: full closed2
debug1: channel_free: channel 0: status: The following connections are open:
  #0 server-session (t4 r1 i8/0 o128/0 fd 9/9)
  #1 server-session (t10 r2 i1/0 o16/0 fd -1/-1)

debug1: !channel_still_open.
Closing connection to 9.156.46.29
debug1: PAM finishing up
debug1: Cannot delete credentials[7]: Permission denied




Regards,
mk

--
Premature optimization is the root of all fun.


_______________________________________________
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to