or download this
use Net::SSH::Perl;
my $fw = Net::SSH::Perl->new( 'server1', debug => 1 );
...
client_win2k: Authentication methods that can continue: publickey,keyb
+oard-interactive.
client_win2k: Next method to try is publickey.
Permission denied at C:\Test\t.pl line 3