How to reject HTTP access to SSH port

view full story

http://serverfault.com – I changed my server SSH port to something else than port 22, however when I access to domain.com:<ssh-port> I can see an output of SSH-2.0-OpenSSH_5.8p1 Debian-7ubuntu1 I want to block direct port access except SSH, how can I do this with the iptables? (HowTos)