Re: ssh processes lingering after scp

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 10/07/04

  • Next message: Brendan Bank: "gssapi-with-mic and krb5 MIT problems"
    Date: Thu, 07 Oct 2004 21:53:04 +1000
    To: Susan McConnell <susanm@jbpc.co.uk>
    
    

    Susan McConnell wrote:
    > 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:
    >
    > my $cmd = "scp $basedir/data/$basename remote.example.com:/tmp";
    > system ($cmd);

    > We're finding that some ssh processes, with a PPID of 1, remain after the
    > script has completed. "ps -ef" shows:

    See: http://bugzilla.mindrot.org/show_bug.cgi?id=897

    What platform is this? Normally orphaned processes will be wait()ed by
    init when scp exits.

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

  • Next message: Brendan Bank: "gssapi-with-mic and krb5 MIT problems"

    Relevant Pages

    • Re: SCP error status broken on SuSE 9.1?
      ... >pre-authenticated user. ... The problem is that scp is copying the file ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • 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: ... shed some light on why this is happening and how we can fix it? ...
      (SSH)
    • Re: Final conversion questions
      ... use the attached perl script (run as ... Use the -r option to scp, and you'll get all files, including. ... > from the OpenBSD site to format, then create my new passwd file for BSD. ...
      (freebsd-isp)
    • Re: scp without any prompts
      ... SH> I have never used SCP before, but I am working on a perl script to ... SH> prompts me for the password for accnt2@host2. ... SH> off password authentication, but I am still being prompted to ...
      (comp.security.ssh)
    • scp without any prompts
      ... I have never used SCP before, but I am working on a perl script to ... accnt2@host2 the scp program prompts me for the passkey, ... password authentication, but I am still being prompted to enter both the ...
      (comp.security.ssh)