Thread

Posted on Thu May 25 11:39:46 2006 by alok
ssh without using net::ssh
Hello. Is it possible to create a perl script that will ssh to another server providing password. Then execute few comands on it including running another script, and then exiting from that server. The trick is it can't use any third party libraries, so no Net::SSH::Perl. Thanks, Alok
Direct Responses: 2389 | Write a response
Posted on Wed May 31 08:52:33 2006 by szabgab in response to 2342
Re: ssh without using net::ssh
Why can't you use third party?
I saw in many places that people just copied the module, renamed it and told their bosses it is their implementation. This might not be right Licence wise. Yous should check the licence of the module.
Other than this you can use
ssh user@remote.server.com "some remote command"
from within your locally running Perl script.
Write a response