This is the mail archive of the
cygwin
mailing list for the Cygwin project.
getting scp to work
- From: "Charles D. Russell" <worwor at bellsouth dot net>
- To: cygwin cygwin <cygwin at cygwin dot com>
- Date: Wed, 06 Dec 2006 15:53:50 -0600
- Subject: getting scp to work
- Reply-to: worwor at bellsouth dot net
I can't get scp to transfer files between two Windows computers on a
home WLAN. A log of scp -v is attached. There are no error messages
recognizable to me, but the log correctly reports that 0 bytes were
transferred. ssh seems to be working ok, at least to log in remotely
and to run pwd and ls remotely. A curious fact is that the attached
output of scp -v contains carriage returns, although running "mount"
shows all drives on both computers to be binary. Furthermore, at one
point in the installation of the ssh package on host sony06, I got a
message indicating that my installation was identified as "just me",
when in fact it was "all users." I have no idea whether these are
significant clues.
scp -v testdell cdr@sony06: >log.out 2>&1
Executing: program /usr/bin/ssh host sony06, user cdr, command scp -v -t .
OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to sony06 [192.168.2.101] port 22.
debug1: Connection established.
debug1: identity file /home/cdr/.ssh/identity type 0
debug1: identity file /home/cdr/.ssh/id_rsa type 1
debug1: identity file /home/cdr/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.5
debug1: match: OpenSSH_4.5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
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: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'sony06' is known and matches the RSA host key.
debug1: Found key in /home/cdr/.ssh/known_hosts:1
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,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/cdr/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t .
running .bashrc on sony06
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
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 0
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/