Are you using ssh2?
I rean into a similiar problem (just using ssh, not w/ rdist). I put in
a ~/.ssh2/ssh2_config file with the line:
BatchMode yes
on the client side. and that did the trick.
Nancy
On Mon, 14 Aug 2000, Didier CONTIS wrote:
>
> I am having some troubles running rdist with ssh.
>
> It works fine when I am doing an update by hand (I am using private /
> public key).
>
> Here is the command line I am using.
>
> /usr/local/bin/rdist -l file=/tmp/junk=all -f
> /etc/usr_local_newsol.rdist -P /usr/local/bin/ssh -p
> /usr/local/bin/rdistd -o numchkgroup,remove vlsrv1 cocsrv1
>
> However, when I run this command line from a crontab I obtained the
> following
> LOCAL ERROR: Unexpected input from server: "You have no controlling
> terminal.Can't initialize readline for confirmations.".
>
> Any idea how I can solve this one ?
>
> Thanks in advance,
>
> Didier.
>