Re: open failed: connect failed: Connection refused
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 15 Jan 2006 16:27:39 -0500
>
> > That means running an ssh command on the inside host, and connecting to
> > an SSH server on the outside host. You show the opposite in your series
> > of commands.
>
> The ssh command IS run on the inside host (Firewalled computer = FC)
> and connects to a server on the outside host:
> [FC shell 1]$ ssh -Y -N -L 6007:localhost:6000 OC
> -- boils down to --
> [FC]$ ssh ... OC
Sorry; I'm not being clear. X forwarding works like this: if you ssh from
A to B with X forwarding on, it allows you to run X clients on B and have
them display on an X server running on A. That is what the -Y in your
command does. You, however, want to do the oppsite, and are forwarding a
local port to the X server on the remote side. The -Y in your command is
irrelevant and will have no effect on what you're trying to do.
What you're trying can work. However, the SSH error suggests that there's
nothing listening on port 6000 on the outside host. Try the host's
non-loopback IP address instead of localhost, on the chance that it's not
listening on the loopback. It's also possible that the X server is not
listening via TCP at all; if it's configured for local clients only, it
may be using a Unix socket only.
--
Richard Silverman
res@xxxxxxxx
.
- References:
- open failed: connect failed: Connection refused
- From: i . am . thor
- Re: open failed: connect failed: Connection refused
- From: Richard E. Silverman
- Re: open failed: connect failed: Connection refused
- From: Thor
- Re: open failed: connect failed: Connection refused
- From: Richard E. Silverman
- Re: open failed: connect failed: Connection refused
- From: Thor
- open failed: connect failed: Connection refused
- Prev by Date: sshd not logging Invalid user
- Next by Date: Re: open failed: connect failed: Connection refused
- Previous by thread: Re: open failed: connect failed: Connection refused
- Next by thread: Re: open failed: connect failed: Connection refused
- Index(es):
Relevant Pages
|