<?xml version="1.0" encoding="windows-1252"?>
<node id="1003827" title="Re: Capturing SSH output in an array." created="2012-11-14 09:54:02" updated="2012-11-14 09:54:02">
<type id="11">
note</type>
<author id="446266">
salva</author>
<data>
<field name="doctext">
There was a silly bug on Net::SSH::Any breaking password authentication. It is now corrected on [https://www.metacpan.org/release/SALVA/Net-SSH-Any-0.02|version 0.02] that I have just uploaded to CPAN.

&lt;c&gt;
use Net::SSH::Any;
my $ssh = Net::SSH::Any-&gt;new($host, user =&gt; $user, password =&gt; $password);

my @out = $ssh-&gt;capture($cmd);
&lt;/c&gt;</field>
<field name="root_node">
1003801</field>
<field name="parent_node">
1003801</field>
</data>
</node>
