Subject: Re: Problem with ssh commands from cron
To: None <netbsd-users@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 11/26/2003 08:14:18
On 24.11-12:46, Bill Chiarchiaro wrote:
> For what it's worth, I run ssh with forced-command keys from cron
> jobs.  However, rather than having the ssh command itself in crontab,
> a script is invoked from crontab and that script then executes ssh
> (among other commands).  A relevant line from one of these scripts is:
> 
>   ssh -2 -q -n -i /home/foo/.ssh/bar some.host.net >> $OUTFILE 2>&1

I'm doing the same. cron calls a script, which runs ssh.
The script generates the DNS Data, moves it to the hosts
and tries to restart named.

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------