problems with scp

Rachit Siamwalla rachit at ensim.com
Mon Jun 12 16:43:12 EST 2000


Theo de Raadt requested my scp -v output, so i'm posting it to the list.

Also, the lost connection message was from line 917 in scp.c (the first
couple lines of int response().

(note i used a non-default port 19635).

output of scp -v -P 19635 foo.bar 10.1.1.239:/tmp 2>&1

Executing: host 10.1.1.239, user (unspecified), command scp -v -t /tmp
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config

debug: Applying options for *

debug: Seeding random number generator

debug: ssh_connect: getuid 0 geteuid 0 anon 0

debug: Connecting to 10.1.1.239 [10.1.1.239] port 19635.

debug: Connection established.

debug: Remote protocol version 2.0, remote software version
OpenSSH_2.1.1

Enabling compatibility mode for protocol 2.0

debug: Local version string SSH-2.0-OpenSSH_2.1.1

debug: Seeding random number generator

debug: send KEXINIT

debug: done

debug: wait KEXINIT

debug: got kexinit: diffie-hellman-group1-sha1

debug: got kexinit: ssh-dss

debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc

debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc

debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com

debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com

debug: got kexinit: zlib,none

debug: got kexinit: zlib,none

debug: got kexinit: 

debug: got kexinit: 

debug: first kex follow: 0 

debug: reserved: 0 

debug: done

debug: kex: server->client 3des-cbc hmac-sha1 none

debug: kex: client->server 3des-cbc hmac-sha1 none

debug: Sending SSH2_MSG_KEXDH_INIT.

debug: bits set: 514/1024

debug: Wait SSH2_MSG_KEXDH_REPLY.

debug: Got SSH2_MSG_KEXDH_REPLY.

debug: keytype ssh-dss

debug: keytype ssh-dss

debug: Host '10.1.1.239' is known and matches the DSA host key.

debug: bits set: 496/1024

debug: len 55 datafellows 0

debug: dsa_verify: signature correct

debug: Wait SSH2_MSG_NEWKEYS.

debug: GOT SSH2_MSG_NEWKEYS.

debug: send SSH2_MSG_NEWKEYS.

debug: done: send SSH2_MSG_NEWKEYS.

debug: done: KEX2.

debug: send SSH2_MSG_SERVICE_REQUEST

debug: service_accept: ssh-userauth

debug: got SSH2_MSG_SERVICE_ACCEPT

debug: authentications that can continue: publickey,password

debug: try pubkey: /root/.ssh/id_dsa

debug: read DSA private key done

debug: sig size 20 20

debug: ssh-userauth2 successfull

debug: fd 5 setting O_NONBLOCK

debug: fd 6 setting O_NONBLOCK

debug: fd 7 setting O_NONBLOCK

debug: channel 0: new [client-session]

debug: send channel open 0

debug: Entering interactive session.

debug: callback start

debug: client_init id 0 arg 0

debug: Sending command: scp -v -t /tmp

debug: client_set_session_ident: id 0

debug: callback done

debug: channel 0: open confirm rwindow 0 rmax 32768

debug: channel 0: rcvd adjust 16384

debug: callback start

debug: client_input_channel_req: rtype exit-status reply 0

debug: callback done

debug: channel 0: rcvd eof

debug: channel 0: output open -> drain

debug: channel 0: rcvd close

debug: channel 0: input open -> closed

debug: channel 0: close_read

debug: channel 0: obuf empty

debug: channel 0: output drain -> closed

debug: channel 0: close_write

debug: channel 0: send close

debug: channel 0: full closed2

debug: channel_free: channel 0: status: The following connections are
open:

  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)



debug: !channel_still_open.

debug: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds

debug: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0

debug: Exit status 1

lost connection





More information about the openssh-unix-dev mailing list