Subject: (Worked around) Re: Problem with ssh commands from cron
To: None <>
From: Christoph Kaegi <>
List: netbsd-users
Date: 12/05/2003 14:22:39
On 24.11-13:09, Christoph Kaegi wrote:
> I'am restarting named on a remote system by connecting via 
> ssh and authenticating through a certain private key.
> The authorized_keys file on the remote host is setup as to 
> call '/etc/rc.d/named restart' every time this key authenticates.
> The call looks like this:
> # ssh -n -t -i /root/.ssh/restartDNSid remotesystem
> This works, when called directly from the console. When
> called from cron, named gets restarted, but ssh never
> returns.

Sadly, I haven't been able to solve this. Thanks for all
the help anyway.

I use rndc now to reload the named config instead of
calling /etc/rc.d/named restart


Christoph Kaegi