qwurx [shmem] 10:59 ~/perlmonks > perl ssh-cmd.pl Enter a host name to connect to: [qwurx] Enter the port number of the remote sshd: [ssh] Choose a cipher from the list: [1] IDEA [2] DES [3] DES3 [5] RC4 [6] Blowfish Enter a number: [1] qwurx: Reading configuration data /home/shmem/.ssh/config qwurx: Reading configuration data /etc/ssh_config qwurx: Connecting to qwurx, port 22. qwurx: Remote protocol version 1.99, remote software version OpenSSH_4.2 qwurx: Net::SSH::Perl Version 1.29, protocol version 2.0. qwurx: No compat match: OpenSSH_4.2. qwurx: Connection established. Enter your username on that host: [shmem] And your password: qwurx: Sent key-exchange init (KEXINIT), wait response. qwurx: Algorithms, c->s: 3des-cbc hmac-sha1 none qwurx: Algorithms, s->c: 3des-cbc hmac-sha1 none qwurx: Entering Diffie-Hellman Group 1 key exchange. qwurx: Sent DH public key, waiting for reply. qwurx: Received host key, type 'ssh-dss'. qwurx: Permanently added 'qwurx' to the list of known hosts. qwurx: Computing shared secret key. qwurx: Verifying server signature. qwurx: Waiting for NEWKEYS message. qwurx: Enabling incoming encryption/MAC/compression. qwurx: Send NEWKEYS, enable outgoing encryption/MAC/compression. qwurx: Sending request for user-authentication service. qwurx: Service accepted: ssh-userauth. qwurx: Trying empty user-authentication request. qwurx: Authentication methods that can continue: publickey,keyboard-interactive. qwurx: Next method to try is publickey. qwurx: Publickey: testing agent key '/home/shmem/.ssh/id_rsa' qwurx: Authentication methods that can continue: publickey,keyboard-interactive. qwurx: Next method to try is publickey. qwurx: Publickey: testing agent key '/home/shmem/.ssh/id_dsa' qwurx: Authentication methods that can continue: publickey,keyboard-interactive. qwurx: Next method to try is publickey. qwurx: Trying pubkey authentication with key file '/home/shmem/.ssh/id_dsa' qwurx: Will not query passphrase for '/home/shmem/.ssh/id_dsa' in batch mode. qwurx: Loading private key failed. Permission denied at ssh-cmd.pl line 43