Re: scp from cron fails

From: S Beam (sbeam_at_onsetSPAMBAITcorps.net)
Date: 12/17/04

  • Next message: jdoe13169_at_yahoo.com: "Problem with LS command"
    Date: Fri, 17 Dec 2004 09:17:03 -0500
    
    

    Doug O'Leary wrote:
    > What you need to do is set up an alternate identity using null-
    > passphrased keys.
    >
    > cd ~/.ssh
    > ssh-keygen -t dsa -f ego -P ""
    > // Distribute the keys as you normally do:
    >
    > In your cron script:
    >
    > scp -i ~/.ssh/ego ${rest_o_command}
    >
    > I just  saw that you tried a null-passphrased key.  Ensure you set
    > them up as an alternate identity and that you use the -i option
    > to specify which identity to use.
    >

    Ahh, sweet success! I never even saw anything about the -i flag in all the
    reading I did. Glad it's there, now I can have my passphrase and eat it
    too. Thanks!

    -- 
    # S Beam
    # Web App Dev Servs
    # http://www.onsetcorps.net/
    

  • Next message: jdoe13169_at_yahoo.com: "Problem with LS command"
  • Quantcast