Since some versions the error-decription on closed port is wrong when using domains to connect (with a non-standard port - if it matters). $ ssh -p 1337 a.b.c.net ssh: connect to host a.b.c.net port 1337: Network is unreachable $ nslookup dag.wk.freifunk.net Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: a.b.c.net Address: 123.123.123.123 $ ssh -p 1337 123.123.123.123 ssh: connect to host 123.123.123.123 port 1337: Connection refused Version: OpenSSH_6.6.1p1, OpenSSL 1.0.1h 5 Jun 2014 System: Arch Linux Version: Rolling release state today 2:00 AM CEST Expected behavoir is connecting via domain and ip does produce the same errormessage: "Connection refused" because the port is closed.
Could you please attach debug output from each case? i.e. "ssh -vvv ..."
10 months with no follow-up == no bug
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1