machine: Reading configuration data /home/admin/.ssh/config machine: Reading configuration data /etc/ssh_config machine: Connecting to A.B.C.D, port 22. machine: Remote protocol version 2.0, remote software version OpenSSH_4.2p1 Debian-5 machine: Net::SSH::Perl Version 1.29, protocol version 2.0. machine: No compat match: OpenSSH_4.2p1 Debian-5. machine: Connection established. machine: Sent key-exchange init (KEXINIT), wait response. machine: Algorithms, c->s: 3des-cbc hmac-sha1 none machine: Algorithms, s->c: 3des-cbc hmac-sha1 none machine: Entering Diffie-Hellman Group 1 key exchange. machine: Sent DH public key, waiting for reply. machine: Received host key, type 'ssh-dss'. machine: Host 'A.B.C.D' is known and matches the host key. machine: Computing shared secret key. machine: Verifying server signature. machine: Waiting for NEWKEYS message. machine: Enabling incoming encryption/MAC/compression. machine: Send NEWKEYS, enable outgoing encryption/MAC/compression. machine: Sending request for user-authentication service. machine: Service accepted: ssh-userauth. machine: Trying empty user-authentication request. machine: Authentication methods that can continue: publickey,keyboard-interactive. machine: Next method to try is publickey. Permission denied at ./perlssh line 16