scp -r problem
kenrcoeb_at_mail.rochester.edu
Date: 06/15/04
- Previous message: Gerald C.: "Re: Different PAM modules for ssh and sftp on Solaris?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 15 Jun 2004 10:09:16 -0400 (EDT) To: secureshell@securityfocus.com
All of a sudden a week and a half ago, the users say, scp -r stopped working
in one special way.
Normally...
Localhost:
mkdir /tmp/z
cd /tmp/z
touch a b c
cd /tmp
scp -r z remotehost:/tmp
z/a | 0B | 0.0 kB/s | TOC: 00:00:01 | 100%
z/b | 0B | 0.0 kB/s | TOC: 00:00:01 | 100%
z/c | 0B | 0.0 kB/s | TOC: 00:00:01 | 100%
And if you scp again it works again.
However to one machine of ours, if the remote directory z already exists:
scp: warning: mkdir: /tmp/z (dst): no such file (server msg: 'syserr: No such file or directory, file: /tmp/z')
This error messsage is from
scp: SSH Secure Shell 3.2.2 (non-commercial version) on sparc-sun-solaris2.8
It also fails the same way with slight error-message wording changes under
3.2.5. I will try 3.2.9 when I get back from YAPC. I don't have this
problem on any other machine that I have tried. Of course the target machine
is the one where users actually rely on scp -r, thanks to Murphy's Law.
Trussing (process tracing) seems to indicate a problem reading /dev/tty
rather than a problem with /tmp/z.
Anybody seen this?
--
-ken rich "Of course, someone who knows
more about this will correct
me if I'm wrong, and someone
who knows less will correct me
if I'm right." --David Palmer kenrcoeb(a)mail.rochester.edu
- Previous message: Gerald C.: "Re: Different PAM modules for ssh and sftp on Solaris?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|