ssh&scp batch

From: chris (chris.adn_at_wanadoo.fr)
Date: 02/21/04

  • Next message: all mail refused: "Re: ssh&scp batch"
    Date: Sat, 21 Feb 2004 16:42:45 +0100
    
    

    Hello,

    I've a strange problem :

    I wrote a script with this line in :
    scp -B myuser@myhost:/source/dir/myfile.tar.gz /target/dir
    (ssh_agent launched via keychain)

    if i execute my script via the console, it works fine

    but if i launch it via cron => i have an error message !!???

    an idea which will help me to solve this problem ???

    thx

    Chris.


  • Next message: all mail refused: "Re: ssh&scp batch"

    Relevant Pages

    • Re: Tk Script It problem
      ... highlighting and script launch. ... your script it sources a console script in the same directory. ... set bool [interp exists test_bed] ... interpreter simply with console eval but I have not tried that yet. ...
      (comp.lang.tcl)
    • Re: IIS & command prompt
      ... On the commandline, run: ... This is because by default, Scripts are configured to launch from an UI, so ... Scripts to launch with an unattend/command-prompt-like script execution ... have its output in a console, or you can launch a script from a console ...
      (microsoft.public.inetserver.iis)
    • Re: Processing workload distribution
      ... The Perl we're using is the 64 bit build of 5.8.8 from Activestate. ... I created a script that uses threads to launch a series of standalone ...
      (comp.lang.perl.misc)
    • Re: [opensuse] Running a program as root from desktop panel
      ... This is obviously to launch a program from my panel as I mentioned and ... I'm obviously not root so there is no need to make a script which is ... doesn't require gnome or kde and it solves my problem. ...
      (SuSE)
    • Re: Tk Script It problem
      ... highlighting and script launch. ... your script it sources a console script in the same directory. ... set bool [interp exists test_bed] ... set data ...
      (comp.lang.tcl)