Re: Port forwarding and ssh
From: Stewart Nelson (sn_at_scgroup.com)
Date: 10/17/04
- Previous message: Scott Anderson: "Re: Digital camera woes [resolved]"
- Maybe in reply to: Eric Tanguy: "Port forwarding and ssh"
- Next in thread: Phillip T. George: "Re: Port forwarding and ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <fedora-list@redhat.com> Date: Sun, 17 Oct 2004 21:04:18 +0200
> I have a simple adsl router and gateway on the configuration i can allow
> to forward port 22 to a specific machine. But when i try to connect by
> ssh the machine from outside i have this answer : ssh: connect to host
> toto.homeip.net port 22: Connection refused. I disable the firewall to
> make some tries but the same. Is there a special configuration for ssh
> to allow this ?
> Thanks
> Eric
One problem is that toto.homeip.net is resolving to 10.0.0.2, which
is a private address that you can't contact from the outside. Try
doing an ssh from outside, to the numeric public IP address of your
ADSL connection. (You can find this from your router, or by visiting
http://www.whatismyip.com/ from a machine on your LAN.)
If that works, you have a DNS problem unrelated to SSH.
If not, see if you can SSH from another machine on your LAN. If
so, you have a router configuration problem. If not, see if
the sshd service is running.
--Stewart
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Scott Anderson: "Re: Digital camera woes [resolved]"
- Maybe in reply to: Eric Tanguy: "Port forwarding and ssh"
- Next in thread: Phillip T. George: "Re: Port forwarding and ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|