How can I open a remote ssh session with perl

2010-08-24 Thread S Pratap Singh
Hello , I want to open a remote ssh session using the perl script , I am able to login to the server using the simple script and i am also able to execute few commands which is defined in the script on the server. I am writing a script which takes the user name , password and hostname from the

Re: How can I open a remote ssh session with perl

2010-08-24 Thread Peter Scott
On Tue, 24 Aug 2010 14:25:01 +0530, S Pratap Singh wrote: I know how to run command on remote shell using script , but I want to open remote shell using perl and want to run the command manually and terminate the session when I am done as we normally do with shell . CPAN: Net::SSH::Perl .

Image magick

2010-08-24 Thread Chaitanya Yanamadala
Hai i am using the image magick to convert an image from 72 dpi to 300 dpi. with the corresponding image height and width. but now i need to resize this image to the corresponding height and width which are existing at 72 dpi. when i do that it is not creating the image with the exact values i

Re: How can I open a remote ssh session with perl

2010-08-24 Thread Brian Fraser
On Tue, Aug 24, 2010 at 11:08 AM, Peter Scott pe...@psdt.com wrote: CPAN: Net::SSH::Perl . I had a similar issue not too long ago; Spent a couple of days attempting to get Net::SSH::Perl to compile properly, gave up, went to CPAN, found [Net::SSH::Expect][0]; So far so good, so here's a