# ./sftp2.pl
advlogs: Reading configuration data /home/advserv/.ssh/config
advlogs: Reading configuration data /etc/ssh_config
advlogs: Connecting to 10.10.10.10, port 22.
advlogs: Remote version string: SSH-2.0-OpenSSH_4.1 advlogs: Remote protocol version 2.0, remote software version OpenSSH_4.1
advlogs: Net::SSH::Perl Version 1.30, protocol version 2.0.
advlogs: No compat match: OpenSSH_4.1.
advlogs: Connection established.
advlogs: Sent key-exchange init (KEXINIT), wait response.
advlogs: Algorithms, c->s: 3des-cbc hmac-sha1 none
advlogs: Algorithms, s->c: 3des-cbc hmac-sha1 none
Segmentation Fault (core dumped)