<?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>Pario TechnoBlob &#187; ssh</title>
	<atom:link href="http://pario.no/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Wed, 14 Jul 2010 12:12:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Secure browsing with Firefox and SOCKS v5</title>
		<link>http://pario.no/2008/09/04/secure-browsing-with-firefox-and-socks-v5/</link>
		<comments>http://pario.no/2008/09/04/secure-browsing-with-firefox-and-socks-v5/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 22:43:22 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[firefox3]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[SOCKS5]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://pario.no/?p=571</guid>
		<description><![CDATA[This post describes how you can setup secure web browsing using Firefox3 and by setting up a SSH tunnel from your PC/host to a remote PC/host. Your PC will then act as a local SOCKS proxy and all applications that supports SOCKS5 interface to this port. This is a handy solution if you are on [...]]]></description>
			<content:encoded><![CDATA[<p>This post describes how you can setup secure web browsing using Firefox3 and by setting up a SSH tunnel from your PC/host to a remote PC/host. Your PC will then act as a local SOCKS proxy and all applications that supports SOCKS5 interface to this port. This is a handy solution if you are on a untrusted net like a wireless connection. The solution can also be used in Thunderbird if you would like.<br />
<b>Note</b><br />
It is important to note that it&#8217;s only the connection between your host and the remote host that is secure. It is also important to note that Firefox will do DNS queries to the untrusted netwoork. This can be fixed by opening the <b>about:config</b> page and change <b>network.proxy.socks_remote_dns</b> to true. </p>
<p>Start a SSH connection to a host that you want to proxy through. Use the -D option to specify a SOCKS5 port on your localhost. The port doesn&#8217;t really matter. Just make sure you use the same port in your SOCKS client application.</p>
<pre>
# ssh -D 3333 username@example.com</pre>
<p>In Firefox select &#8220;Tools | Options&#8230; | Advanced | Network |Settings&#8230; button&#8221;.<br />
<img src="http://pario.no/wp-content/uploads/2008/09/firefox3_socks5_1.jpg" alt="" title="firefox3_socks5_1" width="500" height="483" class="alignnone size-full wp-image-574" /><br />
Then select &#8220;Manual proxy configuration&#8221;. All you need to fill out is &#8220;SOCKS Host: Localhost&#8221;, &#8220;Port: 3333&#8243;, then select &#8220;SOCKS v5&#8243;.<br />
<img src="http://pario.no/wp-content/uploads/2008/09/firefox3_socks5_2.jpg" alt="" title="firefox3_socks5_2" width="461" height="469" class="alignnone size-full wp-image-575" /></p>
<p>Type in &#8220;localhost&#8221; in the SOCKS host field and press the OK button.</p>
<p>You are now ready to surf using Firefox3 and SOCKS5 througt a SSH tunnel.</p>
<h2>Configure a secure tunnel using Putty</h2>
<p>You can also use Putty if you are a Windows user. The configuration is then as follows:<br />
<img src="http://pario.no/wp-content/uploads/2008/09/firefox3_socks5_3.jpg" alt="" title="firefox3_socks5_3" width="466" height="446" class="alignnone size-full wp-image-586" /></p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDkvMDQvc2VjdXJlLWJyb3dzaW5nLXdpdGgtZmlyZWZveC1hbmQtc29ja3MtdjUvPHdwdGI%2BU2VjdXJlIGJyb3dzaW5nIHdpdGggRmlyZWZveCBhbmQgU09DS1MgdjU8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/09/04/secure-browsing-with-firefox-and-socks-v5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix slow SSH login</title>
		<link>http://pario.no/2008/05/29/fix-slow-ssh-login-in-ubuntu-804-hardy-heron/</link>
		<comments>http://pario.no/2008/05/29/fix-slow-ssh-login-in-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Wed, 28 May 2008 23:49:51 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://pario.no/?p=458</guid>
		<description><![CDATA[Add the following line if your SSH login takes a long time on your SSH server. File /etc/ssh/sshd_config: UseDNS no Restart the SSH daemon to activate this change. var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDUvMjkvZml4LXNsb3ctc3NoLWxvZ2luLWluLXVidW50dS04MDQtaGFyZHktaGVyb24vPHdwdGI%2BRml4IHNsb3cgU1NIIGxvZ2luPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";]]></description>
			<content:encoded><![CDATA[<p>Add the following line if your SSH login takes a long time on your SSH server.</p>
<p>File <strong>/etc/ssh/sshd_config</strong>:</p>
<pre>
UseDNS no</pre>
<p>Restart the SSH daemon to activate this change.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDUvMjkvZml4LXNsb3ctc3NoLWxvZ2luLWluLXVidW50dS04MDQtaGFyZHktaGVyb24vPHdwdGI%2BRml4IHNsb3cgU1NIIGxvZ2luPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/05/29/fix-slow-ssh-login-in-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting remote filesystems using SSH and Debian</title>
		<link>http://pario.no/2008/02/20/mounting-remote-filesystems-using-ssh-and-debian/</link>
		<comments>http://pario.no/2008/02/20/mounting-remote-filesystems-using-ssh-and-debian/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 20:50:40 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://pario.no/2008/02/19/mounting-remote-filesystems-using-ssh-and-debian/</guid>
		<description><![CDATA[This post describes how to mount a remote filesystem through SSH using the shfs kernel module on a Debian Etch server. By doing this I can access the remote filesystem as if it was a local filesystem and also use my local tools and software. This is a short description of how I made a [...]]]></description>
			<content:encoded><![CDATA[<p>This post describes how to mount a remote filesystem through SSH using the shfs kernel module on a Debian Etch server. By doing this I can access the remote filesystem as if it was a local filesystem and also use my local tools and software.<br />
This is a short description of how I made a remote filesystem accessible on my private server.</p>
<p>Download the needed software</p>
<pre>
# apt-get install shfs-source shfs-utils module-assistant</pre>
<p>This step might not be needed on your system, but I didn&#8217;t have the needed software to build the kernel module</p>
<pre>
# module-assistant prepare</pre>
<p>Use the module assistant to build the kernel module to match your local system (I use a 2.6 kernel but this whould work on a 2.4 kernel also)</p>
<pre>
module-assistant build shfs</pre>
<p>Now you can install it</p>
<pre>
# module-assistant install shfs
Selecting previously deselected package shfs-module-2.6.18-5-686.
(Reading database ... 78212 files and directories currently installed.)
Unpacking shfs-module-2.6.18-5-686 (from .../shfs-module-2.6.18-5-686_0.35-6.2+2.6.18.dfsg.1-17_i386.deb) ...
Setting up shfs-module-2.6.18-5-686 (0.35-6.2+2.6.18.dfsg.1-17) ...</pre>
<p>You might see some error messages but those are mostly harmless :) and can be ignored.<br />
Now we can try to mount the remote filesystem</p>
<pre>
# mkdir /export/remotefs
# shfsmount user@remotesystem.com /export/remotefs
Password:</pre>
<p>The remote filesystem should now be available after typing your password.</p>
<pre>
# cd /export/remotefs
# ls</pre>
<p>You will now see all your files in the remote filesystem as if they were on your local machine.<br />
To unmount your filesystem</p>
<pre>
# cd /
# umount /export/remotefs</pre>
<p>This post could have been extended to use passwordless</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDIvMjAvbW91bnRpbmctcmVtb3RlLWZpbGVzeXN0ZW1zLXVzaW5nLXNzaC1hbmQtZGViaWFuLzx3cHRiPk1vdW50aW5nIHJlbW90ZSBmaWxlc3lzdGVtcyB1c2luZyBTU0ggYW5kIERlYmlhbjx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/02/20/mounting-remote-filesystems-using-ssh-and-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My custom putty settings</title>
		<link>http://pario.no/2008/02/13/my-custom-putty-settings/</link>
		<comments>http://pario.no/2008/02/13/my-custom-putty-settings/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 11:52:27 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Xming]]></category>

		<guid isPermaLink="false">http://pario.no/2008/02/13/my-custom-putty-settings/</guid>
		<description><![CDATA[This is a quick note of my custom putty settings in Windows Category: Session Connection type: SSH Category: Window Lines of scrollback: 20000 Category: Window &#62; Appearance Font: Lucida Console, 9-point Font quality: ClearType Gap between text and window edge: 3 Category: Window &#62; Translation Character set: UTF-8 Handling of line drawing characters: Unicode Category: [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick note of my custom <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">putty</a> settings in Windows</p>
<p style="display: block"><img src="http://pario.no/wp-content/uploads/2008/02/putty-configuration.jpg" alt="Putty configuration" /></p>
<p><strong>Category: Session</strong><br />
Connection type: SSH</p>
<p><strong>Category: Window</strong><br />
Lines of scrollback: 20000</p>
<p><strong>Category: Window &gt; Appearance</strong><br />
Font: Lucida Console, 9-point<br />
Font quality: ClearType<br />
Gap between text and window edge: 3</p>
<p><strong>Category: Window &gt; Translation</strong><br />
Character set: UTF-8<br />
Handling of line drawing characters: Unicode</p>
<p><strong>Category: Window &gt; Selection</strong><br />
Action of mouse buttons: xterm<br />
Paste to clipboard in RTF as well as plain text: enabled</p>
<p><strong>Category: Window &gt; Colours</strong><br />
ANSI Blue: Red:74 Green:74 Blue:255<br />
ANSI Blue Bold: Red:140: Green:140 Blue:255</p>
<p><strong>Category: Connection</strong><br />
Seconds between keepalives (0 to turn off): 30</p>
<p><strong>Category: Connection &gt; SSH &gt; X11</strong><br />
Enable X11 forwarding: enabled</p>
<p>X11 forwarding is enabled to to let me access remote X applications in Windows using <a href="http://www.straightrunning.com/XmingNotes/">Xming</a>.</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html","http:\/\/www.straightrunning.com\/XmingNotes\/"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDIvMTMvbXktY3VzdG9tLXB1dHR5LXNldHRpbmdzLzx3cHRiPk15IGN1c3RvbSBwdXR0eSBzZXR0aW5nczx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/02/13/my-custom-putty-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use ssh on multiple servers simultaneous</title>
		<link>http://pario.no/2008/01/20/use-ssh-on-multiple-servers-simultaneous/</link>
		<comments>http://pario.no/2008/01/20/use-ssh-on-multiple-servers-simultaneous/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 01:32:29 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[clusterssh]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://pario.no/2008/01/20/use-ssh-on-multiple-servers-simultaneous/</guid>
		<description><![CDATA[If you have many servers to manage and want to perform the same tasks on each of the machine every day, then you should look at the package named clusterssh. Install the clusterssh package apt-get install clusterssh Perform the same command on the three servers server1 server2 and server3 cssh server1 server2 server3 This opens [...]]]></description>
			<content:encoded><![CDATA[<p>If you have many servers to manage and want to perform the same tasks on each of the machine every day, then you should look at the package named <a href="http://packages.debian.org/clusterssh">clusterssh</a>.</p>
<p>Install the clusterssh package</p>
<pre>
apt-get install clusterssh</pre>
<p>Perform the same command on the three servers server1 server2 and server3</p>
<pre>
cssh server1 server2 server3</pre>
<p>This opens three ssh consoles, one for each server, and a little console for you to type your commands.</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/packages.debian.org\/clusterssh"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDEvMjAvdXNlLXNzaC1vbi1tdWx0aXBsZS1zZXJ2ZXJzLXNpbXVsdGFuZW91cy88d3B0Yj5Vc2Ugc3NoIG9uIG11bHRpcGxlIHNlcnZlcnMgc2ltdWx0YW5lb3VzPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/01/20/use-ssh-on-multiple-servers-simultaneous/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
