Re: SCP error status broken on SuSE 9.1?
From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 07/28/04
- Next message: Nico Kadel-Garcia: "Re: sftp"
- Previous message: Doug O'Leary: "Re: Checking success of automated scp"
- In reply to: KevJohnP: "Re: SCP error status broken on SuSE 9.1?"
- Next in thread: Darren Tucker: "Re: SCP error status broken on SuSE 9.1?"
- Reply: Darren Tucker: "Re: SCP error status broken on SuSE 9.1?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Jul 2004 08:05:26 -0400
"KevJohnP" <nospam@nowhere.com> wrote in message
news:ce5kl9$qvc$1@s1.uklinux.net...
> Darren Tucker wrote:
>
> > In article <ce5gp6$82p$1@s1.uklinux.net>, KevJohnP <nospam@nowhere.com>
wrote:
> >
> >>I have a program that calls scp to transfer a file to a
> >>pre-authenticated user. The problem is that scp is copying the file
> >>fine but giving back inconsistent return codes - mostly success (0) but
> >>occassionally -1 with no information any different in the -v debug
> >>output. In all cases the file has transferred fine.
> >>
> >>The platform is SuSE 9.1 client transferring to a Solaris9 X86 server.
> >>
> >>Anyone seen this before??
> >
> >
> > Yes, and it looked like a bug in SunSSH:
> > http://bugzilla.mindrot.org/show_bug.cgi?id=813
> >
>
> Thanks Darren, installed patch 114858-05 and though it still
> occassionally gives the wrong return code it is far less frequent.
You could also try "rsync -e ssh", to avoid duplicating the file if it
hasn't changed. I suspect that will avoid the bugs with scp as well. rsync
can also be told to duplicate hard links, and to delete local files that
have no longer exist in the master directory to really synchronize two
locations. It's a neat tool!
- Next message: Nico Kadel-Garcia: "Re: sftp"
- Previous message: Doug O'Leary: "Re: Checking success of automated scp"
- In reply to: KevJohnP: "Re: SCP error status broken on SuSE 9.1?"
- Next in thread: Darren Tucker: "Re: SCP error status broken on SuSE 9.1?"
- Reply: Darren Tucker: "Re: SCP error status broken on SuSE 9.1?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]