Re: open failed: connect failed: Connection refused



>
> > 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

.



Relevant Pages

  • How can I restrict incoming root rsync over ssh to specified command?
    ... will use rsync over ssh to pull certain directories from the ssh ... Here's an example of the command, ... Even with the server locked up in a room with no user ...
    (comp.os.linux.security)
  • RE: Problem with X server
    ... Try tunneling everything through ssh. ... This gets around the need to use the xhost and export display settings. ... Subject: Problem with X server ... On the local host, type: ...
    (RedHat)
  • Re: rsync and ssh simple question
    ... possible to tie an SSH key to a specific command on a remote server, ... For instance, when you run rsync over ssh, the local rsync command ...
    (RedHat)
  • Re: CE5.0 Command line tools
    ... Lookup devices, ... TFTP server on the host end... ... I know in CE4.0 it was possible to download an OS to a CEPC from the command line, but I am looking to do this in CE5.0 and not to a CEPC. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [Info-ingres] problems with ssh
    ... Check the SSHD log on the server for errors. ... ancient version of SSH, unfortunately. ... the command seems to have functioned - but just wont terminate and leaves a process hanging around. ... Duckman: You got anymore of those glues? ...
    (comp.databases.ingres)