Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- ssh to non-standard port failed
July 29, 2004, 9:29 am
rate this thread
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?
Re: ssh to non-standard port failed
The "Connection refused" errror below indicates either a) the port
forwarding is incorrectly configured (or not configured at all) or
b) the machine it's forwarded to is not running sshd on port 22.
Fix your port forwarding or start sshd on the host.
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum