Re: syntax of ssh wrapper for X Windows command

From: Richard E Silverman (res_at_qoxp.net)
Date: 06/23/03


Date: 23 Jun 2003 12:13:38 -0400


> Hi
> I have been trying to openSSH wrap the following X windows command :
>
> X :1 -query comp2

It is not clear what you mean by "wrapping a command." However, if you're
trying to use SSH X forwarding, you're confused. This command starts an X
server. SSH X forwarding is used to protect connections from X clients.
This command does not start any X connections to protect. Separately, the
-query argument tells it to use XDMCP, but that's a UDP protocol not
amenable to SSH forwarding anyway.

-- 
  Richard Silverman
  res@qoxp.net


Relevant Pages

  • Re: [opensuse] Access a remote openSuSE installation sitting behind NAT
    ... little user intervention as possible (ideally just a simple command). ... You'll have to configure his firewall to forward ssh to his computer. ... Then use ssh -X to enable X forwarding and you can then run any application remotely. ...
    (SuSE)
  • unusable feature: LocalCommand
    ... Specifies a command to execute on the local machine after suc- ... What it doesn't say is that the SSH connection, though established, cannot be ... used by that local command being executed. ... run a command that makes use of that port forwarding. ...
    (comp.security.ssh)
  • Re: How to remotely connect to linux machine and then use GUI software on it?
    ... There is a cygwin window pop-up and it has the following prompt: ... How can I Enable X forwarding in your SSH client ... but get "bash:ssh: command not found". ... >Enable X forwarding in your SSH client. ...
    (comp.os.linux.networking)
  • IP address of ssh/telnet client THANK YOU!
    ... switch or setting the SSH windows client for X Forwarding by default. ... Some suggested using the "last" command and using the usual ... Steven Sim ... Fujitsu Asia Pte. ...
    (SunManagers)
  • Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
    ... Introduce RTM_CHANGEADD, a command that will forcibly add route, ... Use this command in in_addprefix. ... Approach 1 is largely irrelevant if multiple paths are introduced to the network stack; there is then no concept of a conflicting forwarding entry, only preference derived from the interface, entry flags, or the entry itself. ...
    (freebsd-net)