[Dub-pm] Perl & SSH

Dave Burke daveb at esat.net
Fri Mar 11 06:42:02 PST 2005


On Fri, 2005-03-11 at 13:43 +0000, John Tobin wrote:
> I've written code to talk to Cisco boxes, and I'd suggest using
> Expect.pm.  Net::SSH doesn't support passwords, and Cisco's crap SSH
> implementation doesn't support keys.  Net::SSH::Perl does support
> passwords, but I couldn't get it to talk to Cisco's SSH - it couldn't
> negotiate a common set of capabilities or something.  Try something like
> 	autoexpect -p ssh -1 -4 -x -a -e none system at router
> and convert the resulting Expect script to Perl + Expect.pm.

Thanks John.  I'll go give Expect.pm a shot so.

Dave




More information about the Dublin-pm mailing list