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 using Net::SSH2 over Expect??






  One of the advantages is that the code may be portable and it could work 
under Windows, while if it uses expect it might not.


  --Octavian

Reply via email to