Re: ssh2 and scp2 fails in crontab.

From: Hans Blom (tocum2_at_yahoo.com)
Date: 08/31/05

  • Next message: Stein Arne Storslett: "Re: ssh2 and scp2 fails in crontab."
    Date: Wed, 31 Aug 2005 12:09:25 +0200
    
    

    Neil W Rickert wrote:
    > Hans Blom <tocum2@yahoo.com> writes:
    >
    >
    >>I've written a few scripts that get files via scp2 and just touches a
    >>file at server with ssh2 to indicate successful download.
    >>The scripts run in Cshell.
    >
    >
    > Bad choice for scripting.
    >
    >
    >>Interactively they run like a charm and admiring myself in the mirror I
    >>put them into crontab for periodic running.
    >>And.... The little buggers fail. I get a $status of 1 (generic error).
    >>Anyone got any ideas what to do?
    >
    >
    > How are you handling authentication?
    >
    > Host based authentication should work fine from cron. But password
    > based will give you problems, since there is no tty available for
    > prompting for a password (or a passphrase).
    >
    Hello,
    the authentication is publickey based.
    And I'm sorry I should have mentioned OS is Linux Enterprise and ssh is
    SSH2 Commercial version.

    Regards
    Hans


  • Next message: Stein Arne Storslett: "Re: ssh2 and scp2 fails in crontab."

    Relevant Pages

    • Re: ssh2 and scp2 fails in crontab.
      ... Hans Blom wrote: ... > file at server with ssh2 to indicate successful download. ... > The scripts run in Cshell. ... As to the comments on csh scripting. ...
      (comp.security.ssh)
    • ssh2 and scp2 fails in crontab.
      ... file at server with ssh2 to indicate successful download. ... The scripts run in Cshell. ...
      (comp.security.ssh)
    • Re: Vendor specific authentication protocol
      ... Why would you want to exchange text before the authentication phase rather ... >>>using these .scp dial up scripts which are used for automatical login. ... What the chat script for linux are the .scp scripts ... i don't find that possibility with .scp scripts. ...
      (comp.protocols.ppp)
    • Re: Web Authentication
      ... Please use such programs only if you have a permission from the ... make a brute force attack to htaccess? ... but i dont know any other ways of authentication. ... scripts in those directories are wirted in PHP Perl and CGI scripting. ...
      (Security-Basics)
    • Re: Web Authentication
      ... make a brute force attack to htaccess? ... > What exactly you want to achieve by doing "better web authentication"? ... >>scripts in those directories are wirted in PHP Perl and CGI scripting. ...
      (Security-Basics)