Bugzilla – Attachment 573 Details for
Bug 813
Scp to s Solaris 9 box gives "exit status 1" although file is delivered.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Debug from client and server side
ssh problem.txt (text/plain), 9.56 KB, created by
Stefan Sundman
on 2004-03-17 20:06:36 AEDT
(
hide
)
Description:
Debug from client and server side
Filename:
MIME Type:
Creator:
Stefan Sundman
Created:
2004-03-17 20:06:36 AEDT
Size:
9.56 KB
patch
obsolete
>Client: > > >p950sts@sshgw1$ >p950sts@sshgw1$ >p950sts@sshgw1$ >p950sts@sshgw1$ >p950sts@sshgw1$ scp junk askprd:~/; echo $? >p950sts@askprd's password: >junk 100% 11KB 0.0KB/s 00:00 >1 >p950sts@sshgw1$ >p950sts@sshgw1$ >p950sts@sshgw1$ telnet localhost 22 >Trying 127.0.0.1... >Connected to localhost. >Escape character is '^]'. >SSH-2.0-OpenSSH_3.7.1p2-pwexp24 > >Protocol mismatch. >Connection closed by foreign host. > >p950sts@sshgw1$ >p950sts@sshgw1$ uname -a >SunOS sshgw1 5.8 Generic_108528-16 sun4u sparc SUNW,UltraAX-i2 >p950sts@sshgw1$ >p950sts@sshgw1$ scp -v junk askprd:~/; echo $? >Executing: program /usr/local/bin/ssh host askprd, user (unspecified), command scp -v -t ~/ >OpenSSH_3.7.1p2-pwexp24, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003 >debug1: Reading configuration data /usr/local/etc/ssh_config >debug1: Connecting to askprd [10.90.55.72] port 22. >debug1: Connection established. >debug1: identity file /export/home/p950sts/.ssh/id_rsa type -1 >debug1: identity file /export/home/p950sts/.ssh/id_dsa type -1 >debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.0 >debug1: match: Sun_SSH_1.0 pat Sun_SSH_1.0* >debug1: Enabling compatibility mode for protocol 2.0 >debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2-pwexp24 >debug1: SSH2_MSG_KEXINIT sent >debug1: SSH2_MSG_KEXINIT received >debug1: kex: server->client aes128-cbc hmac-md5 none >debug1: kex: client->server aes128-cbc hmac-md5 none >debug1: sending SSH2_MSG_KEXDH_INIT >debug1: expecting SSH2_MSG_KEXDH_REPLY >debug1: Host 'askprd' is known and matches the RSA host key. >debug1: Found key in /export/home/p950sts/.ssh/known_hosts:9 >debug1: ssh_rsa_verify: signature correct >debug1: SSH2_MSG_NEWKEYS sent >debug1: expecting SSH2_MSG_NEWKEYS >debug1: SSH2_MSG_NEWKEYS received >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: Trying private key: /export/home/p950sts/.ssh/id_rsa >debug1: Trying private key: /export/home/p950sts/.ssh/id_dsa >debug1: Next authentication method: password >p950sts@askprd's password: >debug1: Authentication succeeded (password). >debug1: channel 0: new [client-session] >debug1: Entering interactive session. >debug1: Sending command: scp -v -t ~/ >Sending file modes: C0755 11014 junk >junk 100% 11KB 0.0KB/s 00:00 >debug1: channel 0: free: client-session, nchannels 1 >debug1: fd 0 clearing O_NONBLOCK >debug1: fd 1 clearing O_NONBLOCK >debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds >debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 >debug1: Exit status -1 >1 >p950sts@sshgw1$ > > > > >------------------------------------- >ServerSide: > > > >bash-2.05# >bash-2.05# uname -a >SunOS mongo2 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-4 >bash-2.05# >bash-2.05# telnet localhost 22 >Trying 127.0.0.1... >Connected to localhost. >Escape character is '^]'. >SSH-2.0-Sun_SSH_1.0 > >Protocol mismatch. >Connection to localhost closed by foreign host. >bash-2.05# >bash-2.05# >bash-2.05# /usr/lib/ssh/sshd -ddd >debug3: cipher ok: aes128-cbc [aes128-cbc,blowfish-cbc,3des-cbc] >debug3: cipher ok: blowfish-cbc [aes128-cbc,blowfish-cbc,3des-cbc] >debug3: cipher ok: 3des-cbc [aes128-cbc,blowfish-cbc,3des-cbc] >debug3: ciphers ok: [aes128-cbc,blowfish-cbc,3des-cbc] >debug2: mac_init: found hmac-sha1 >debug3: mac ok: hmac-sha1 [hmac-sha1,hmac-md5] >debug2: mac_init: found hmac-md5 >debug3: mac ok: hmac-md5 [hmac-sha1,hmac-md5] >debug3: macs ok: [hmac-sha1,hmac-md5] >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 10.90.55.94 port 45940 >debug1: Client protocol version 2.0; client software version OpenSSH_3.7.1p2-pwexp24 >debug1: match: OpenSSH_3.7.1p2-pwexp24 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: ,geo,lcttab,iso_8859_1,iso_8859_15,en_CA,en_CA.ISO8859-1,en_US,en_US.ISO8859-1,en_US.ISO8859-15,en_US.ISO8859-15@euro,es,es_MX,es_MX.ISO8859-1,fr,fr_CA,fr_CA.ISO8859-1 >debug1: sent kexinit: ,geo,lcttab,iso_8859_1,iso_8859_15,en_CA,en_CA.ISO8859-1,en_US,en_US.ISO8859-1,en_US.ISO8859-15,en_US.ISO8859-15@euro,es,es_MX,es_MX.ISO8859-1,fr,fr_CA,fr_CA.ISO8859-1 >debug1: send KEXINIT >debug1: done >debug1: wait KEXINIT >debug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 >debug1: got kexinit: ssh-rsa,ssh-dss >debug1: got kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr >debug1: got kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr >debug1: got kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 >debug1: got kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 >debug1: got kexinit: none,zlib >debug1: got kexinit: none,zlib >debug1: got kexinit: >debug1: got kexinit: >debug1: first kex follow: 0 >debug1: reserved: 0 >debug1: done >debug2: mac_init: found hmac-md5 >debug1: kex: client->server unable to decide common locale >debug1: kex: client->server aes128-cbc hmac-md5 none >debug2: mac_init: found hmac-md5 >debug1: kex: server->client unable to decide common locale >debug1: kex: server->client aes128-cbc hmac-md5 none >debug1: bits set: 501/1024 >debug1: Wait SSH2_MSG_KEXDH_INIT. >debug1: bits set: 502/1024 >debug2: ssh_rsa_sign: done >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 p950sts service ssh-connection method none >debug1: attempt 0 failures 0 >debug2: input_userauth_request: setting up authctxt for p950sts >debug1: Starting up PAM with username "p950sts" >debug2: input_userauth_request: try method none >debug1: PAM Password authentication for "p950sts" failed[9]: Authentication failed >Failed none for p950sts from 10.90.55.94 port 45940 ssh2 >debug1: options.max_auth_tries = 6 >debug1: userauth-request for user p950sts service ssh-connection method password >debug1: attempt 1 failures 1 >debug2: input_userauth_request: try method password >debug1: PAM Password authentication accepted for user "p950sts" >debug3: Trying to reverse map address ::ffff:10.90.55.94. >Could not reverse map address ::ffff:10.90.55.94. >debug1: PAM setting rhost to "10.90.55.94" >debug1: PAM setting user to "p950sts" >Accepted password for p950sts from 10.90.55.94 port 45940 ssh2 >debug1: Entering interactive session for SSH2. >debug1: server_init_dispatch_20 >debug1: server_input_channel_open: ctype session rchan 0 win 131072 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 >debug2: callback start >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 9 setting O_NONBLOCK >debug1: fd 9 IS O_NONBLOCK >debug1: fd 11 setting O_NONBLOCK >debug2: callback done >debug2: channel 0: read 48 from efd 11 >debug2: channel 0: read 123 from efd 11 >debug2: channel 0: read 38 from efd 11 >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: 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 >debug2: channel 0: read 0 from efd 11 >debug1: channel 0: closing efd 11debug1: Received SIGCHLD. > >debug1: tvp!= NULL kid 1 mili 100 >debug1: session_by_pid: pid 1344 >debug1: session_exit_message: session 0 channel 0 pid 1344 >debug1: session_exit_message: release channel 0 >debug1: session_free: session 0 pid 1344 >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 9/9) > >Connection closed by remote host. >debug1: Calling cleanup 0x369e8(0x0) >debug1: Calling cleanup 0x29948(0x0) >debug1: Calling cleanup 0x3e130(0x0) > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 813
: 573