no controlling tty and no DISPLAY. Cannot read passphrase

From: Dave Martini 1 (martini@raider.llnl.gov)
Date: Mon Jul 11 2005 - 18:41:34 EDT


I'm running a perl script from cron as root that does

ssh hostname df

and I receive this error from cron in email everytime the scripts runs.

You have no controlling tty and no DISPLAY. Cannot read passphrase.

I know this has something to do with ssh but no sure what needs to be
done to fix it.

We're running F-Secure SSH.
The permissions on my /dev/tty look ok.

ls -la /devices/pseudo/sy@0:tty
crw-rw-rw- 1 root tty 22, 0 Nov 9 2004 /devices/pseudo/sy@0:tty

Any help would be great!
Dave Martini
LLNL
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:05 EDT