<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WiredRevolution.com &#187; tunneling</title>
	<atom:link href="http://www.wiredrevolution.com/tag/tunneling/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to X session forwarding over SSH</title>
		<link>http://www.wiredrevolution.com/system-administration/how-to-x-session-forwarding-over-ssh?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-x-session-forwarding-over-ssh</link>
		<comments>http://www.wiredrevolution.com/system-administration/how-to-x-session-forwarding-over-ssh#comments</comments>
		<pubDate>Thu, 04 Dec 2008 14:05:41 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[/etc/ssh/ssh_config]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tunneling]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=807</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>SSH allows secure (encrypted and authenticated) connections between two hosts. These connections include terminal sessions, file transfers, TCP port forwarding, as well as X window forwarding which I will be covering here. X forwarding is a form of tunneling that allows you to run a GUI application on a remote machine but let you view [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/commands/securely-copy-remote-files-with-scp' rel='bookmark' title='Permanent Link: Securely copy remote files with scp'>Securely copy remote files with scp</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd' rel='bookmark' title='Permanent Link: How to SSH into Ubuntu LiveCD'>How to SSH into Ubuntu LiveCD</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p><strong>SSH</strong> allows secure (encrypted and authenticated) connections between two hosts.  These connections include terminal sessions, file transfers, TCP port forwarding, as well as X window forwarding which I will be covering here. X forwarding is a form of tunneling that allows you to run a GUI application on a remote machine but let you view and interact with it on your local machine.</p>
<p>To try this out you will need both <strong>X</strong> and <strong>SSH</strong> installed on your local and remote machines.  Make sure that you are able to log into the the remote machine over SSH before you continue.</p>
<p>Simple SSH command, ensure that this works before continuing.  You may have to enter a password for the user before it will allow you access.</p>
<pre>
$ ssh user@remotehost
</pre>
<p>The next step is to add the <strong>&#8216;-X</strong>&#8216; option.  This will turn on X forwarding and allow you to remotely run X programs. In this case we will run xclock.</p>
<pre>
$ ssh -X user@remotehost xclock
</pre>
<p>You should see the xclock window appear on your screen. You can interact with it like any other local application window. Close it when you are done.</p>
<p>If you have a slower connection you can turn on compression by adding the &#8216;<strong>-C</strong>&#8216; option to the command above. This will compress all data communications with the gzip algorithm.</p>
<pre>
$ ssh -C -X user@remotehost xclock
</pre>
<p>If you are experiencing any problems turn on verbose output with the &#8216;<strong>-v</strong>&#8216; option. This will give you a lot more output and tell you what is going on underneath.</p>
<pre>
$ ssh -v -X user@remotehost xclock
</pre>
<p>If you are still having issues look in the ssh configuration file here<strong>/etc/ssh/ssh_config</strong>, and make sure that you don&#8217;t have X forwarding settings disabled.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/commands/securely-copy-remote-files-with-scp' rel='bookmark' title='Permanent Link: Securely copy remote files with scp'>Securely copy remote files with scp</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/share-a-remote-filesystem-over-ssh' rel='bookmark' title='Permanent Link: Share a remote filesystem over SSH'>Share a remote filesystem over SSH</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd' rel='bookmark' title='Permanent Link: How to SSH into Ubuntu LiveCD'>How to SSH into Ubuntu LiveCD</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/how-to-x-session-forwarding-over-ssh/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

