ssh works fine, scp fails

Darren Tucker dtucker at zip.com.au
Sun Jun 15 22:37:16 EST 2003


Martin Pitt wrote:
> > What does the server log say?
[snip]
> Jun 15 14:20:23 paprika sshd[13368]: Accepted publickey for pitt from 217.80.147.122 port 33024 ssh2
> Jun 15 14:20:24 paprika PAM_unix[32033]: (ssh) session opened for user pitt by (uid=1016)
> 
> Authentication works properly as I already explained. The connection
> is reset as soon as the data transfer is to be started.

OK, another possibility is that scp is linked to a library that is not in
the non-interactive LD_LIBRARY_PATH.  Try: "ssh server scp -V".  That
should just give a usage statement if all is well.

Could you please specify which OS, OS version and OpenSSH version and
configuration options both client and server are running?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list