Edward Pike on 9 Aug 2010 00:04:04 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] "ssh -X" through multiple hops

  • From: Edward Pike <jondzpike@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] "ssh -X" through multiple hops
  • Date: Mon, 9 Aug 2010 03:03:58 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=J/gjMyI5ZqILE5OtC7SnGxtByhCReQ8BNN5CSR7HjTc=; b=IdkYMkjE1B818CJcphuLOyOHxh3ubFHZdD8FnCH7x/14Qa6BLwLsOH//cvN2cV+w4w LFFu/rVMghovEpibi3jsFdjuYq/2mQOi9PM+5nXfO0t0YUeLA1K20VoUpBtD6U47jq4t uEsSvHmO4RPLU8R95BaQsbGZSWmhhriUoFmI8=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

Try this

ssh -X -o ProxyCommand="ssh firewallhost nc insidehost 22" insidehost { command }

if it works and the double password prompt annoys you setup ssh public key on both the firewall and insidehost, but put the same ssh pub copy on both machines.


On Sun, Aug 8, 2010 at 7:27 PM, Casey Bralla <MailList@nerdworld.org> wrote:
I want to be able to run an X application that is inside my firewall. I can
ssh into my firewall, and then ssh from the firewall into my inside machine,
but I don't know how to make an X application work through this "tunnel".

Can anyone give me some pointers?   TIA!

Casey Bralla

Chief Nerd in Residence
The NerdWorld Organisation


This eMail is confidential and intended solely for the use of the individual
to whom it is addressed. In fact, this message is so darned important that you
really should consider yourself privileged to even be cc’d on this message.
If by some weird twist of fate, you have received this eMail by accident, you
__MUST__ immediately erase it and then forget you ever heard of the person who
sent it to you.  Just to be sure, you’d better then reformat your hard drive,
renounce all material possessions, and move to Myanmar, Sri Lanka, or some
other country that routinely changes its name.

Please also be aware that eMail can easily be intercepted, corrupted, lost,
destroyed, include naughty words, or be infected with a virus. The sender
therefore does not accept liability for any bad things that might happen to
you in your life, even though we’re pretty sure he’s been spreading malicious
gossip about you behind your back.  (And that story about you, the George
Foreman grill, and the 17 year-old girl was particularly nasty!)

By accepting receipt of this message, you accept these terms, agree to lend us
$50 interest-free with no fixed date of repayment, and also agree to sing
Monty Python’s “Lumberjack Song” as loudly as possible next Sunday during

“I’m a lumberjack, and I’m OK.  I sleep all night and…”
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug