<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Tunneling X Connection Through Intermediate Linux / BSD Gateway</title> <atom:link href="http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Gene Mat</title><link>http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/#comment-41612</link> <dc:creator>Gene Mat</dc:creator> <pubDate>Fri, 15 May 2009 00:46:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3753#comment-41612</guid> <description>What is /usr/bin/nc? What do all those nc options do???</description> <content:encoded><![CDATA[<p>What is /usr/bin/nc? What do all those nc options do???</p> ]]></content:encoded> </item> <item><title>By: David Mackintosh</title><link>http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/#comment-41533</link> <dc:creator>David Mackintosh</dc:creator> <pubDate>Fri, 08 May 2009 16:45:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3753#comment-41533</guid> <description>Alternatively, you could use your first SSH session to tunnel into the second machine.  For example:
$ ssh -fgNL 2202:somelan.example.com:22 user@gateway.example.com
$ ssh -Xp 2202 user@localhost</description> <content:encoded><![CDATA[<p>Alternatively, you could use your first SSH session to tunnel into the second machine.  For example:</p><p>$ ssh -fgNL 2202:somelan.example.com:22 <a
href="mailto:user@gateway.example.com">user@gateway.example.com</a></p><p>$ ssh -Xp 2202 user@localhost</p> ]]></content:encoded> </item> <item><title>By: Ulver</title><link>http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/#comment-41531</link> <dc:creator>Ulver</dc:creator> <pubDate>Fri, 08 May 2009 14:02:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3753#comment-41531</guid> <description>some occations using &quot;ssh -X yadayada&quot;  i&#039;d have some autentication troubles ...overall with old version of x11 ..troubles are about mit cookies stuff ...for this kind of case are very usefull use &quot;ssh -Y yadayada&quot;</description> <content:encoded><![CDATA[<p>some occations using &#8220;ssh -X yadayada&#8221;  i&#8217;d have some autentication troubles &#8230;overall with old version of x11 ..troubles are about mit cookies stuff &#8230;for this kind of case are very usefull use &#8220;ssh -Y yadayada&#8221;</p> ]]></content:encoded> </item> <item><title>By: Greg Wildman</title><link>http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/#comment-41529</link> <dc:creator>Greg Wildman</dc:creator> <pubDate>Fri, 08 May 2009 11:57:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3753#comment-41529</guid> <description>I do a similar thing to access my linux boxes behind a linux firewall at home. In this case &#039;defender&#039; being the firewall and &#039;digdug&#039; the server I want to ssh to, yes yes - 80&#039;s arcade theme for server names.  :)
ssh -t defender ssh digdug
xterm &amp;
I have used the &#039;-t&#039; option to do this through 4 servers as well.</description> <content:encoded><![CDATA[<p>I do a similar thing to access my linux boxes behind a linux firewall at home. In this case &#8216;defender&#8217; being the firewall and &#8216;digdug&#8217; the server I want to ssh to, yes yes &#8211; 80&#8242;s arcade theme for server names.  :)</p><p>ssh -t defender ssh digdug<br
/> xterm &amp;</p><p>I have used the &#8216;-t&#8217; option to do this through 4 servers as well.</p> ]]></content:encoded> </item> <item><title>By: Scott Carlson</title><link>http://www.cyberciti.biz/faq/proxycommand-ssh-session-internal-host-through-gateway/#comment-41522</link> <dc:creator>Scott Carlson</dc:creator> <pubDate>Fri, 08 May 2009 03:13:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3753#comment-41522</guid> <description>Sorry, I think your final commands are incorrect.
I think they should be
$ ssh -X user@internal
$ xeyes &amp;
And if you add &quot;ForwardX11 yes&quot; to the config, you wouldn&#039;t need the -X</description> <content:encoded><![CDATA[<p>Sorry, I think your final commands are incorrect.<br
/> I think they should be<br
/> $ ssh -X user@internal<br
/> $ xeyes &amp;</p><p>And if you add &#8220;ForwardX11 yes&#8221; to the config, you wouldn&#8217;t need the -X</p> ]]></content:encoded> </item> </channel> </rss>
