> Message du 03/12/08 08:37 > De : [EMAIL PROTECTED] > A : beginners@perl.org > Copie à : > Objet : SSH to diff. machine > > > Hi All, > > > > I need to write perl script which will SSH to different machine , run > some commands and then send out the mail with the output of that > command. > > > > Can it be possible in perl. Please let me know some sample code. >
Sure it's possible. See Net::SSH or Net::SSH2 or Net::SSH::Expect on CPAN. -- Jeff Pang http://home.arcor.de/pangj/ Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.