#!/usr/local/bin/perl -w use strict; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new("host",(protocol=>'2',port=>'52000',debug=>'true')); $ssh->login("user","pass"); $ssh->cmd("exit"); #### prospero: Next method to try is password. prospero: Trying password authentication. prospero: Login completed, opening dummy shell channel. prospero: channel 0: new [client-session] prospero: Requesting channel_open for channel 0. prospero: channel 0: open confirm rwindow 100000 rmax 16384 prospero: Got channel open confirmation, requesting shell. prospero: Requesting service shell on channel 0. prospero: channel 1: new [client-session] prospero: Requesting channel_open for channel 1. prospero: Entering interactive session. prospero: Sending command: exit prospero: Requesting service exec on channel 1. prospero: channel 1: open confirm rwindow 100000 rmax 16384 #### Received disconnect message: Window overflow received channel data. at /usr/local/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/SSH2.pm line 284