[prudhvi@x64 ~]$ ssh -v -L3128:127.0.0.1:3128 my.host.net
OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to my.host.net [X.Y.Z.A] port 22.
debug1: Connection established.
debug1: identity file /home/prudhvi/.ssh/id_rsa type -1
debug1: identity file /home/prudhvi/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 Debian-8.sarge.6
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.6 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'my.host.net' is known and matches the DSA host key.
debug1: Found key in /home/prudhvi/.ssh/known_hosts:3
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/prudhvi/.ssh/id_rsa
debug1: Trying private key: /home/prudhvi/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentication succeeded (keyboard-interactive).
debug1: Local connections to LOCALHOST:3128 forwarded to remote address 127.0.0.1:3128
debug1: Local forwarding listening on ::1 port 3128.
bind: Can't assign requested address
debug1: Local forwarding listening on 127.0.0.1 port 3128.
bind: Can't assign requested address
channel_setup_fwd_listener: cannot listen to port: 3128
Could not request local forwarding.
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Linux my.host.net 2.6.16.13-xen #1 SMP Fri Sep 29 18:18:01 PDT 2006 i686 GNU/Linux
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
prudhvi@alice:~$ exit
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
logout
debug1: channel 0: free: client-session, nchannels 1
Connection to my.host.net closed.
debug1: Transferred: stdin 0, stdout 0, stderr 38 bytes in 21.7 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1.7
debug1: Exit status 0