qwurx [gm] 11:01 ~/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: Host 'qwurx' is known and matches the host key. 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. qwurx: Next method to try is keyboard-interactive. Password: qwurx: Login completed, opening dummy shell channel. qwurx: channel 0: new [client-session] qwurx: Requesting channel_open for channel 0. qwurx: channel 0: open confirm rwindow 0 rmax 32768 qwurx: Got channel open confirmation, requesting shell. qwurx: Requesting service shell on channel 0. Enter a command to execute: [ls -l] qwurx: channel 1: new [client-session] qwurx: Requesting channel_open for channel 1. qwurx: Entering interactive session. qwurx: Sending command: ls -l qwurx: Requesting service exec on channel 1. qwurx: channel 1: open confirm rwindow 0 rmax 32768 qwurx: channel 1: window 9216 sent adjust 23552 qwurx: channel 1: rcvd eof qwurx: channel 1: output open -> drain qwurx: input_channel_request: rtype exit-status reply 0 qwurx: channel 1: rcvd close qwurx: channel 1: input open -> closed qwurx: channel 1: close_read qwurx: channel 1: obuf empty qwurx: channel 1: output drain -> closed qwurx: channel 1: close_write qwurx: channel 1: send close qwurx: channel 1: full closed total 1733104 ... (file list follows)