Dakujem za odpovede, tak pekne po poriadku:
(Ten port mam nakoniec 1622)
XXX: /$ ssh localhost -p 1622 -vvv
(-vvv je asi nejaky styl debugu)
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [::1] port 1622.
debug1: Connection established.
debug1: identity file /home/ynox/.ssh/id_rsa type -1
debug1: identity file /home/ynox/.ssh/id_rsa-cert type -1
debug1: identity file /home/ynox/.ssh/id_dsa type -1
debug1: identity file /home/ynox/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-4ubuntu4
debug1: match: OpenSSH_5.5p1 Debian-4ubuntu4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
XXX: /$ sudo iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:1622
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
netstat -an | grep 1622
tcp 0 0 0.0.0.0:1622 0.0.0.0:* LISTEN
tcp6 0 0 :::1622 :::* LISTEN