If I understood everything correctly last time I read the ssh2 docs, I
believe that .shosts doesn't work with ssh2. I never got them to work
for myself, and it looks like your messages are complaining because
they're trying to find some form of input so they can give you a
password prompt.

What I'd recommend is a little more of a hassle when you have to do it
for a bunch of machines, but definitely works well. Generate DSA keys;
you can set a passphrase on them if you want, but don't have to. If you
don't, you can use them in automated jobs without problems.

It's fairly well explained in the docs, but it's a little tricky the
first couple times, so if you need a hand, I can help you with it.

-David Hoover

> Message: 5
> Date: Thu, 07 Dec 2000 14:46:55 -0500
> From: "Shobhit Kapoor" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: problem with rsync over ssh2
> 
> I am trying to use rsync over ssh2 via cron.
> 
> 0,15,30,45 * * * * /export/home/admin/sync 2>&1 > /dev/null
> 
> The authentication is done via a .shosts file.
> If I run it on the command line it seems to work fine but I get this =
> message when I run it through cron.It used to work well with ssh1,after =
> upgrading to ssh2 this broke.
> 
> Please help,
> thanks,Shobhit
> 
> Error :
> You have no controlling terminal.Can't initialize readline for confirmation=
> s.
> Couldn't exec 'ssh-signer2' (System error message: No such file or =
> directory)FATAL: Executing ssh-signer failed.
> You have no controlling tty and no DISPLAY.  Cannot read passphrase.
> warning: Authentication failed.
> Disconnected; authentication cancelled by user (Authentication cancelled =
> by user.).
> unexpected EOF in read_timeout
> You have no controlling terminal.Can't initialize readline for confirmation=
> s.
> Couldn't exec 'ssh-signer2' (System error message: No such file or =
> directory)FATAL: Executing ssh-signer failed.
> You have no controlling tty and no DISPLAY.  Cannot read passphrase.
> warning: Authentication failed.
> Disconnected; authentication cancelled by user (Authentication cancelled =
> by user.).
> unexpected EOF in read_timeout
> /export/home/admin/sync: b/pub: not found

Reply via email to