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: SSH: remote login returns "invalid user"
    ... host mail.harlley-consultants.com ... server rather than web server? ... If they have the right server software running (mail, web, ssh daemon) then that software picks up the request. ... When you want to send mail to xxx@xxxxxxxxxxxxxxxxxxxxxxx, your mail server looks up the MX record for hartley-consultants and sends it to port 25 on the machine pointed to. ...
    (Debian-User)
  • 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)