Re: Net:SSH2 v/s Expect

2014-12-01 Thread Priyal Jain
Thanks. Is Net::SSH2::Expect a stable module I want to use it for Net::Netconf. Is it supported in windows? Regards Priyal From: Eduardo mailto:edua...@eduardors.net>> Date: Tuesday, December 2, 2014 at 4:37 AM To: Priyal Jain mailto:jpri...@juniper.net>> Subject: Re: Net:SSH2 v/s Expect El 0

Re: Net:SSH2 v/s Expect

2014-12-01 Thread Octavian Rasnita
From: Priyal Jain Hi, For establishing ssh session between client and server, which is better method: 1. Net::SSH2 : http://search.cpan.org/~rkitover/Net-SSH2-0.53/lib/Net/SSH2.pm 2. Expect : http://search.cpan.org/~rgiersig/Expect-1.15/Expect.pod What are the advantages of u

Re: Net:SSH2 v/s Expect

2014-12-01 Thread shawn wilson
On Dec 1, 2014 7:02 AM, "Priyal Jain" wrote: > > Thanks, and on the basis of performance like speed and robustness which is > better?? > So I've never had the need for either - run local or remote or managed (puppet/chef or the perl solution I can't think off hand). And for performance they're pr

Re: Net:SSH2 v/s Expect

2014-12-01 Thread Nathan Hilterbrand
On 12/01/2014 04:29 AM, Priyal Jain wrote: Hi, For establishing ssh session between client and server, which is better method: 1. Net::SSH2 : http://search.cpan.org/~rkitover/Net-SSH2-0.53/lib/Net/SSH2.pm 2. Expect : http:/

Re: Net:SSH2 v/s Expect

2014-12-01 Thread Priyal Jain
Thanks, and on the basis of performance like speed and robustness which is better?? Regards Priyal On 12/1/14, 5:25 PM, "Shlomi Fish" wrote: >Hi Priyal, > >On Mon, 1 Dec 2014 09:29:44 + >Priyal Jain wrote: > >> Hi, >> >> For establishing ssh session between client and server, which is bet

Re: Net:SSH2 v/s Expect

2014-12-01 Thread Shlomi Fish
Hi Priyal, On Mon, 1 Dec 2014 09:29:44 + Priyal Jain wrote: > Hi, > > For establishing ssh session between client and server, which is better > method: 1. Net::SSH2 : > http://search.cpan.org/~rkitover/Net-SSH2-0.53/lib/Net/SSH2.pm 2. Expect : > http://search.cpan.org/~rgiersig/Expect-1.15/

Net:SSH2 v/s Expect

2014-12-01 Thread Priyal Jain
Hi, For establishing ssh session between client and server, which is better method: 1. Net::SSH2 : http://search.cpan.org/~rkitover/Net-SSH2-0.53/lib/Net/SSH2.pm 2. Expect : http://search.cpan.org/~rgiersig/Expect-1.15/Expect.pod What are the advantages of using Net::SSH2 over Expect?? Than