hi,
THe senario is that we update data on our servers through rsync (through ssh ) and a shell scripts is used to do that but the problem is if one server is down (connection fails) the script dies so rest servers (after the down server ) dont get updated. So what i was trying was to check the proper ssh connections to the server and supply the working server list to this script.
King...
--- Anurag anurag@hbcse.tifr.res.in wrote:
On Tue, 11 Jan 2005 20:47:04 -0800 (PST), "King" nightlife_king@yahoo.com said:
Thanks for the info dude, What i did was i used
Net
SSH Perl module to login to server and check the connection (with keys).Need to do error handliing
now
:(
http://www.perldoc.com/perl5.8.4/pod/perl.html
btw, what are you trying to do exactly? I couldn't understand anything from your past three mails...
-Anurag
--
__ __
gnu /noo/ n. Ox like antelope; (abbr.) /gnoo/ n. (recursive acronym) Gnu's Not Unix.
__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250