Possible Duplicate:
How can I ssh inside a Perl script?
Please let me know if there is any way we can write a perl script to login to a linux machine and execute a command.
Problem here is I need to use Perl - 5.6.1 version where none of the SSH modules were available
perl? All the answers you get will of course ignore your requirement.ssh? Perhaps you are actually trying to find out how to execute an external program? If so, your question needs fixing. (Well, I'd personally delete it and start fresh.)sshon CPAN, Net::SSH, should work perfectly fine in Perl 5.6.1.programatically doing an ssh?