[root@localhost ~]# ssh -vvv -p 12345 localhost OpenSSH_4.0p1, OpenSSL 0.9.7f 22 Mar 2005 debug1: client_input_channel_open: ctype forwarded-tcpip rchan 4 win 131072 max 32768 debug1: client_request_forwarded_tcpip: listen localhost port 12345, originator 127.0.0.1 port 45084 debug1: channel 1: new [127.0.0.1] debug1: confirm forwarded-tcpip debug1: channel 1: not connected: Connection refused debug1: channel 1: free: 127.0.0.1, nchannels 2 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 12345. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_dsa type 2 ssh_exchange_identification: Connection closed by remote host