ssh to non-standard port failed

From: wonder (
Date: 07/29/04

Date: Thu, 29 Jul 2004 17:29:01 +0800


I m not able to ssh to a non-standard port 2222 on a remote host.
Port 2222 on a remote host is configured to be forwarded to an internal
server on port 22 (a standard port of sshd).
I got the following error:

root@fbsd [4:38pm] [/etc/ssh]# ssh a.b.c.d -p 2222
ssh: connect to host a.b.c.d port 2222: Connection refused

What can I do to fix this issue? so that I can ssh to a non-standard
port on the remote openbsd box which forward the incoming traffic from
port 2222 to the remote internal server on port 22?