Re: SCP error status broken on SuSE 9.1?

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 07/27/04


Date: Tue, 27 Jul 2004 12:20:10 +0000 (UTC)

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

-- 
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.


Relevant Pages

  • Re: ssh processes lingering after scp
    ... > We're copying a number of files, sometimes up to 3-400, using ... > scp called from a perl script. ... The command issued by the perl script is: ... Good judgement comes with experience. ...
    (SSH)
  • Re: puTTY to Windows 200k W/ OpenSSH OK; SFTP not OK
    ... > now trying to either do scp through WinSCP or SFTP through SecureFX. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: scp fails - excepted on very small files
    ... > the connection created but the file doesn't transfer. ... > packet-size problem, or something like this. ... > scp between these two machines as soon as possible. ... Good judgement comes with experience. ...
    (SSH)
  • Re: FTP Encryption
    ... SSH as a transport in different ways, ... OpenSSH's sftp certainly doesn't use scp in any way. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: Disable SFTP/SCP but not SSH?
    ... > but prevent them from connecting through SFTP and/or ... They can also install their own copies of scp and/or ... Good judgement comes with experience. ...
    (SSH)