my $ssh2 = Net::SSH2->new(); $ssh2->debug(1); $ssh2->connect($host) or die " Cannot connect to 219 "; die " Username/password is wrong " unless $ssh2->auth(username=>$user, password=>$password); $ssh2->scp_get('/path/somefile'); print " Successfully copied \n"; print $ssh2->error; $ssh2->disconnect(); #### Net::SSH2::Channel::read(size = 8192, ext = 0) - read 2972 bytes - read 4172 bytes - read -37 bytes - read 7144 total -24LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED in Net::SSH2