Hi. So I have been having problems using scp to copy files between two of my machines, both of which are running OpenSSH 2.30p1 (though I've had the same problem with previous versions). It is basically as simple as the file not being transferred after authentication occurs. I can however use scp to copy files back and forth from another machine using a SSH Communications version 1.2.27 daemon and client. Additionally, ssh between the two hosts itself works perfectly. Here is a log of what happens on the sender: $ scp -v -v -v foo.bar xxxxxxxx: Executing: program /usr/local/openssh/bin/ssh host xxxxxxxx, user (unspecified), command scp -v -t . gw2 at xxxxxxxx's password: stty: standard input: Invalid argument $ And here is the receiver: $ sshd -d -d -d debug1: sshd version OpenSSH_2.3.0p1 debug1: Seeding random number generator debug1: read DSA private key done debug1: Seeding random number generator debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. Generating 768 bit RSA key. debug1: Seeding random number generator debug1: Seeding random number generator RSA key generation complete. debug1: Server will not fork when running in debugging mode. Connection from 128.2.xx.xxx port 708 debug1: Client protocol version 2.0; client software version OpenSSH_2.3.0p1 debug1: no match: OpenSSH_2.3.0p1 Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-1.99-OpenSSH_2.3.0p1 debug1: send KEXINIT debug1: done debug1: wait KEXINIT debug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 debug1: got kexinit: ssh-dss debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com debug1: got kexinit: zlib debug1: got kexinit: zlib debug1: got kexinit: debug1: got kexinit: debug1: first kex follow: 0 debug1: reserved: 0 debug1: done debug1: kex: client->server 3des-cbc hmac-sha1 zlib debug1: kex: server->client 3des-cbc hmac-sha1 zlib debug1: Wait SSH2_MSG_KEX_DH_GEX_REQUEST. /usr/local/openssh/etc/primes: No such file or directory WARNING: /usr/local/openssh/etc/primes does not exist, using old prime debug1: bits set: 515/1024 debug1: Sending SSH2_MSG_KEX_DH_GEX_GROUP. debug1: Wait SSH2_MSG_KEX_DH_GEX_INIT. debug1: bits set: 499/1024 debug1: sig size 20 20 debug1: send SSH2_MSG_NEWKEYS. debug1: Enabling compression at level 6. debug1: done: send SSH2_MSG_NEWKEYS. debug1: Wait SSH2_MSG_NEWKEYS. debug1: GOT SSH2_MSG_NEWKEYS. debug1: done: KEX2. debug1: userauth-request for user gw2 service ssh-connection method none debug1: attempt #1 debug2: input_userauth_request: setting up authctxt for gw2 debug1: Starting up PAM with username "gw2" debug2: input_userauth_request: try method none Failed none for gw2 from 128.2.xx.xxx port 708 ssh2 debug1: userauth-request for user gw2 service ssh-connection method password debug1: attempt #2 debug2: input_userauth_request: try method password debug1: PAM Password authentication accepted for user "gw2" debug1: PAM setting rhost to "xxxxxxxxxx.xx.xx.cmu.edu" Accepted password for gw2 from 128.2.xx.xxx port 708 ssh2 debug1: Entering interactive session for SSH2. debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 32768 debug1: open session 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: 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 7 setting O_NONBLOCK debug1: fd 7 IS O_NONBLOCK debug1: fd 9 setting O_NONBLOCK debug2: callback done debug2: channel 0: read 55 from efd 9 debug2: channel 0: read 108 from efd 9 debug2: channel 0: read 20 from efd 9 debug2: channel 0: read 19 from efd 9 debug1: channel 0: rcvd eof debug1: channel 0: output open -> drain debug1: channel 0: rcvd close debug1: channel 0: input open -> closed debug1: channel 0: close_read debug1: channel 0: obuf empty debug1: channel 0: output drain -> closed debug1: channel 0: close_write debug1: channel 0: send 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 7/7) debug1: channel_free: channel 0: dettaching channel user debug1: session_by_channel: session 0 channel 0 debug1: session_close_by_channel: channel 0 kill 6864 debug1: Received SIGCHLD. debug1: tvp!=NULL kid 1 mili 100 error: select: Bad file descriptor debug1: session_by_pid: pid 6864 debug1: session_free: session 0 pid 6864 debug1: !channel_still_open. Closing connection to 128.2.xx.xxx debug1: compress outgoing: raw data 400, compressed 312, factor 0.78 debug1: compress incoming: raw data 165, compressed 129, factor 0.78 $ Both the sender and receiver were compiled with the following configuration: --with-kerberos4 --with-afs=/usr/local/lib/afs --with-default-path=/bin:/usr/bin:/usr/local/bin If you have any other questions let me know. This has been bugging me for a long time now... -- --- Geoff Washburn | washburn at acm.org | http://www.andrew.cmu.edu/~gw2/ ---