Hi --

Has anyone encountered the following problem?:

scp works fine for files, but when I try to do a directory it fails with a
permission denied error (apparently local):


bash-2.04$ scp -vr ./mp3 [EMAIL PROTECTED]:/usr/share/pub/mp3_workpush/
Executing: host foo.com, user iain, command scp -v -r -t /usr/share/pub/mp
3_workpush/
SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4.
Standard version.  Does not use RSAREF.
ssh_connect: getuid 0 geteuid 0 anon 0
Connecting to foo.com [64.168.143.188] port 22.
Connection established.
Remote protocol version 1.99, remote software version OpenSSH_2.2.0p1
Waiting for server public key.
Received server public key (768 bits) and host key (1024 bits).
Host 'foo.com' is known and matches the host key.
Initializing random; seed file c:\home/.ssh/random_seed
IDEA not supported, using 3des instead.
Encryption type: 3des
Sent encrypted session key.
Received encrypted confirmation.
Trying RSA authentication with key '[EMAIL PROTECTED]'
Received RSA challenge from server.
Sending response to host key RSA challenge.
Remote: RSA authentication accepted.
RSA authentication accepted by server.
Sending command: scp -v -r -t /usr/share/pub/mp3_workpush/
Entering interactive session.
./mp3: Permission denied
bash-2.04$ Transferred: stdin 34, stdout 1, stderr 0 bytes in 0.0 seconds



To transfer just the contents of a directory, it works fine:

bash-2.04$ scp -vr ./mp3/Sublime/Sublime/* [EMAIL PROTECTED]:/usr/share/pub/
mp3_workpush/
Executing: host foo.com, user iain, command scp -v -r -d -t /usr/share/pub
/mp3_workpush/
SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4.
Standard version.  Does not use RSAREF.
ssh_connect: getuid 0 geteuid 0 anon 0
Connecting to foo.com [64.168.143.188] port 22.
Connection established.
Remote protocol version 1.99, remote software version OpenSSH_2.2.0p1
Waiting for server public key.
Received server public key (768 bits) and host key (1024 bits).
Host 'foo.com' is known and matches the host key.
Initializing random; seed file c:\home/.ssh/random_seed
IDEA not supported, using 3des instead.
Encryption type: 3des
Sent encrypted session key.
Received encrypted confirmation.
Trying RSA authentication with key '[EMAIL PROTECTED]'
Received RSA challenge from server.
Sending response to host key RSA challenge.
Remote: RSA authentication accepted.
Write failed flushing stdout buffer.
write stdout: Invalid argument
Transferred: stdin 31332641, stdout 17, stderr 32 bytes in 810.0 seconds
Bytes per second: stdin 38682.3, stdout 0.0, stderr 0.0
Exit status -1
RSA authentication accepted by server.
Sending command: scp -v -r -d -t /usr/share/pub/mp3_workpush/
Entering interactive session.
Sending file modes: C0666 5236736 01 - Garden Grove.mp3
Sending file modes: C0666 3424256 02 - What I Got.mp3
Sending file modes: C0666 2729984 03 - Wrong Way.mp3
Sending file modes: C0666 3133440 04 - Same In The End.mp3
Sending file modes: C0666 4669440 05 - April 29, 1992 (Miami).mp3
Sending file modes: C0666 3665920 06 - Santeria.mp3
Sending file modes: C0666 2607104 07 - Seed.mp3
Sending file modes: C0666 5865472 08 - Jailhouse.mp3

Any idea what's going on here?

I'm on windows 2000 on the client side...

Thanks in advance for any help!

Iain.




Reply via email to