Subject: | sshd: debug1: need rekeying |
Hi,
- uname: Linux mylinux 2.6.11 #2 SMP Fri Apr 8 07:21:28 CEST 2005 i686 GNU/Linux
- Debian linux SID
- error log in attached file.
- client and server script in attached file
- net::ssh::perl installed from cpan (dh-make-perl)
My client scrip connect to remote ssh server, and execute perl scrip.
Remote STDOUT and remote STDERR redirect to local file.
if ( $sshconn = Net::SSH::Perl->new("localhost", %params))
**** sbackup.pl
$sshconn->login('op');
$sshconn->register_handler("stdout", sub {
my($outchannel, $outbuffer) = @_; print(FOUT $sshconn->type);});
$sshconn->register_handler("stderr", sub {
my($errchannel, $errbuffer) = @_; print(FERR $errbuffer->bytes);});
($ssherr, $ssherr, $sshexit) = $sshconn->cmd("/tmp/bufile.pl");
$sshconn->cmd("exit");
}
****bufile.pl
print(STDERR "TAR START...\n");
system("tar -cmvzf /tmp/large.tgz /tmp/largedir-1.5GB");
print(STDERR "TAR END.\n"); **
after (1 hour) server sent this message:
Apr 27 16:22:38 mylinux sshd[32703]: debug1: need rekeying
Apr 27 16:22:38 mylinux sshd[32703]: debug1: SSH2_MSG_KEXINIT sent
and client log:
foldesilinux: channel 1: window 14729 sent adjust 18039
foldesilinux: channel 1: window 1655 sent adjust 31113
foldesilinux: Warning: ignore packet type 20
...and data transfer stop
Message body not shown because it is not plain text.