Re: stripped output from Net::SSH2

2010-03-12 Thread Sisyphus
- Original Message - From: "perl_haxor 123" To: "Sisyphus" Cc: Sent: Thursday, March 11, 2010 10:16 PM Subject: Re: stripped output from Net::SSH2 Hi Rob, Thanks a lot for looking into thisi can't execute cat command on the routing devices, I w

Re: stripped output from Net::SSH2

2010-03-11 Thread perl_haxor 123
t;Sisyphus" > Cc: > Sent: Thursday, March 11, 2010 6:38 AM > Subject: Re: stripped output from Net::SSH2 > > > > find the script below: >> >> #!/usr/bin/perl -w >> use strict; >> >> use Term::ReadKey; >> use Net::SSH2; >> >&

Re: stripped output from Net::SSH2

2010-03-11 Thread Sisyphus
- Original Message - From: "perl_haxor 123" To: "Sisyphus" Cc: Sent: Thursday, March 11, 2010 6:38 AM Subject: Re: stripped output from Net::SSH2 find the script below: #!/usr/bin/perl -w use strict; use Term::ReadKey; use Net::SSH2; use constant BUFLEN =&

Re: stripped output from Net::SSH2

2010-03-10 Thread perl_haxor 123
xt"; print OUTPUT "HOST: $_\n\n"; print OUTPUT "$buf\n"; print OUTPUT "\n\n\n"; print OUTPUT "##############\n\n"; close OUTPUT; $chan->close(); } Thanks

Re: stripped output from Net::SSH2

2010-03-10 Thread Sisyphus
- Original Message - From: "perl_haxor 123" To: Sent: Thursday, March 11, 2010 6:07 AM Subject: stripped output from Net::SSH2 Hi All, I'm using Net::SSH2 module on windows machine, the purpose of this script is to login to multiple devices and ex

stripped output from Net::SSH2

2010-03-10 Thread perl_haxor 123
Hi All, I'm using Net::SSH2 module on windows machine, the purpose of this script is to login to multiple devices and execute "show run" command and print the output of the command to a text file, ...the script login to multiple devices and executes "show run" command", reads from t