<?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>vincentkong.com &#187; SSH</title>
	<atom:link href="http://www.vincentkong.com/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vincentkong.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 25 Dec 2011 01:35:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Tabs for PuTTY</title>
		<link>http://www.vincentkong.com/2010/08/tabs-for-putty</link>
		<comments>http://www.vincentkong.com/2010/08/tabs-for-putty#comments</comments>
		<pubDate>Tue, 24 Aug 2010 03:02:08 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=1577</guid>
		<description><![CDATA[A lot of people including me uses the free PuTTY application as a SSH client for Windows.  However, the most annoying thing about it, is the lack of tabs; making me having to manage multiple PuTTY windows for multiple SSH &#8230; <a href="http://www.vincentkong.com/2010/08/tabs-for-putty">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2009/10/running-gui-software-from-remote-servers-with-xming' rel='bookmark' title='Running GUI Software from Remote Servers with Xming'>Running GUI Software from Remote Servers with Xming</a></li>
<li><a href='http://www.vincentkong.com/2008/03/ssh-through-http-proxies' rel='bookmark' title='SSH through HTTP Proxies'>SSH through HTTP Proxies</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A lot of people including me uses the free <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> application as a SSH client for Windows.  However, the most annoying thing about it, is the lack of tabs; making me having to manage multiple PuTTY windows for multiple SSH sessions.</p>
<p><a href="http://puttycm.free.fr/cms/" class="broken_link">PuTTY Connection Manager</a> is a free PuTTY Client Add-on for Windows platforms uses tabs for managing multiple PuTTY instances!</p>
<p>When PuTTY Connection Manager is first started, it&#8217;ll ask you to enter the location of where your PuTTY is installed.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2010/08/puttycm_init.png"><img class="alignnone size-medium wp-image-1578" title="PuTTY Connection Manager Initial Startup" src="http://www.vincentkong.com/wp-content/uploads/2010/08/puttycm_init-300x122.png" alt="" width="300" height="122" /></a></p>
<p>And finally, you can start using a tabbed version of PuTTY!</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2010/08/puttycm_tabs.png"><img class="alignnone size-medium wp-image-1581" title="puttycm_tabs" src="http://www.vincentkong.com/wp-content/uploads/2010/08/puttycm_tabs-300x212.png" alt="" width="300" height="212" /></a></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2009/10/running-gui-software-from-remote-servers-with-xming' rel='bookmark' title='Running GUI Software from Remote Servers with Xming'>Running GUI Software from Remote Servers with Xming</a></li>
<li><a href='http://www.vincentkong.com/2008/03/ssh-through-http-proxies' rel='bookmark' title='SSH through HTTP Proxies'>SSH through HTTP Proxies</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2010/08/tabs-for-putty/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH with Ajaxterm</title>
		<link>http://www.vincentkong.com/2009/11/ssh-with-ajaxterm</link>
		<comments>http://www.vincentkong.com/2009/11/ssh-with-ajaxterm#comments</comments>
		<pubDate>Wed, 11 Nov 2009 02:50:03 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=676</guid>
		<description><![CDATA[Almost a year ago I wrote about SSHing with a web browser using MindTerm.  This was good, if the network allows traffic via  the SSH port, and nowadays this is usually not the case. Ajaxterm is a web based terminal &#8230; <a href="http://www.vincentkong.com/2009/11/ssh-with-ajaxterm">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/integrating-tomcat-and-apache-using-proxy' rel='bookmark' title='Integrating Tomcat and Apache Using Proxy'>Integrating Tomcat and Apache Using Proxy</a></li>
<li><a href='http://www.vincentkong.com/2009/06/installing-boutdutunnel-server-on-mono-xsp' rel='bookmark' title='Installing BoutDuTunnel Server on Mono XSP'>Installing BoutDuTunnel Server on Mono XSP</a></li>
<li><a href='http://www.vincentkong.com/2007/05/apache-mod_proxy-and-reverse-proxy' rel='bookmark' title='Apache mod_proxy and Reverse Proxy'>Apache mod_proxy and Reverse Proxy</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Almost a year ago I wrote about <a href="http://www.vincentkong.com/2008/12/ssh-with-a-web-browser">SSHing with a web browser</a> using MindTerm.  This was good, if the network allows traffic via  the SSH port, and nowadays this is usually not the case.</p>
<p><a href="http://antony.lesuisse.org/software/ajaxterm/">Ajaxterm</a> is a web based terminal that provides SSH connectivity with a AJAX supported web browser.</p>
<h3>Installing Ajaxterm in Ubuntu</h3>
<p><code>$ sudo apt-get install ajaxterm</code></p>
<p>Modify the configure file /etc/default/ajaxterm if a different port for ajaxterm is desired.  The default port is 8022.</p>
<p>Setting up Ajaxterm with Apache</p>
<p>By default Ajaxterm only listen at 127.0.0.1:8022.  For remote access, configure it with <a href="http://www.vincentkong.com/2007/05/apache-mod_proxy-and-reverse-proxy">Apache using mod_proxy</a>.</p>
<p><code>$ a2enmod proxy_http</code></p>
<p>Add the following to the Apache config <code>/etc/apache2/httpd.conf</code></p>
<pre>ProxyRequests off
ProxyPass / http://localhost:8022/
ProxyPassReverse / http://localhost:8022/</pre>
<p>When completed point the browser to the domain associated with Ajaxterm.</p>
<div id="attachment_1077" class="wp-caption alignnone" style="width: 310px"><a href="http://www.vincentkong.com/wp-content/uploads/2009/10/ajaxterm.png"><img class="size-medium wp-image-1077" title="Ajaxterm" src="http://www.vincentkong.com/wp-content/uploads/2009/10/ajaxterm-300x225.png" alt="Ajaxterm" width="300" height="225" /></a><p class="wp-caption-text">Ajaxterm</p></div>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/integrating-tomcat-and-apache-using-proxy' rel='bookmark' title='Integrating Tomcat and Apache Using Proxy'>Integrating Tomcat and Apache Using Proxy</a></li>
<li><a href='http://www.vincentkong.com/2009/06/installing-boutdutunnel-server-on-mono-xsp' rel='bookmark' title='Installing BoutDuTunnel Server on Mono XSP'>Installing BoutDuTunnel Server on Mono XSP</a></li>
<li><a href='http://www.vincentkong.com/2007/05/apache-mod_proxy-and-reverse-proxy' rel='bookmark' title='Apache mod_proxy and Reverse Proxy'>Apache mod_proxy and Reverse Proxy</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2009/11/ssh-with-ajaxterm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running GUI Software from Remote Servers with Xming</title>
		<link>http://www.vincentkong.com/2009/10/running-gui-software-from-remote-servers-with-xming</link>
		<comments>http://www.vincentkong.com/2009/10/running-gui-software-from-remote-servers-with-xming#comments</comments>
		<pubDate>Thu, 29 Oct 2009 03:50:31 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=618</guid>
		<description><![CDATA[Xming provides an implementation of the X Windows System (X11 server) for Microsoft Windows.  Its useful when needing to use a GUI application on a remote server that doesn&#8217;t provide remote desktop access. Installing Xming Installing Xming on Windows is &#8230; <a href="http://www.vincentkong.com/2009/10/running-gui-software-from-remote-servers-with-xming">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2010/08/tabs-for-putty' rel='bookmark' title='Tabs for PuTTY'>Tabs for PuTTY</a></li>
<li><a href='http://www.vincentkong.com/2008/01/running-windows-application-on-ubuntu' rel='bookmark' title='Running Windows Application on Ubuntu'>Running Windows Application on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Xming provides an implementation of the X Windows System (X11 server) for Microsoft Windows.  Its useful when needing to use a GUI application on a remote server that doesn&#8217;t provide remote desktop access.</p>
<h3>Installing Xming</h3>
<p>Installing Xming on Windows is easy; <a href="http://sourceforge.net/projects/xming/">download the binary file</a> and follow the installation wizard.</p>
<p>To configure Xming run XLaunch from the Start Menu, otherwise run Xming to start up the application.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2009/10/xming_menu.png"><img class="alignnone size-full wp-image-1115" title="Xming Menu" src="http://www.vincentkong.com/wp-content/uploads/2009/10/xming_menu.png" alt="Xming Menu" width="146" height="94" /></a></p>
<p>When started an icon would appear on the taskbar.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2009/10/xming_icon.png"><img class="alignnone size-full wp-image-1116" title="Xming Icon" src="http://www.vincentkong.com/wp-content/uploads/2009/10/xming_icon.png" alt="Xming Icon" width="124" height="30" /></a></p>
<h3>Configure X11 Forwarding in PuTTY</h3>
<p>Before establishing and SSH connection go to Connection -&gt; SSH -&gt; X11 in the configuration window and check the &#8220;Enable X11 forwarding&#8221; box.</p>
<div id="attachment_1117" class="wp-caption alignnone" style="width: 310px"><a href="http://www.vincentkong.com/wp-content/uploads/2009/10/putty_x11forward.png"><img class="size-medium wp-image-1117" title="PuTTY X11 Forwarding" src="http://www.vincentkong.com/wp-content/uploads/2009/10/putty_x11forward-300x290.png" alt="PuTTY X11 Forwarding" width="300" height="290" /></a><p class="wp-caption-text">PuTTY X11 Forwarding</p></div>
<p>After SSH connection has been established any GUI application can be run by executing it from the command prompt e.g. the Thunar file manager for Xubuntu</p>
<div id="attachment_1118" class="wp-caption alignnone" style="width: 310px"><a href="http://www.vincentkong.com/wp-content/uploads/2009/10/thunar_with_xming.png"><img class="size-medium wp-image-1118" title="Thunar with Xming" src="http://www.vincentkong.com/wp-content/uploads/2009/10/thunar_with_xming-300x211.png" alt="Running Thunar in Windows with Xming" width="300" height="211" /></a><p class="wp-caption-text">Running Thunar in Windows with Xming</p></div>
<p>More detail information can be found <a href="http://gears.aset.psu.edu/hpc/guides/xming/" class="broken_link">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2010/08/tabs-for-putty' rel='bookmark' title='Tabs for PuTTY'>Tabs for PuTTY</a></li>
<li><a href='http://www.vincentkong.com/2008/01/running-windows-application-on-ubuntu' rel='bookmark' title='Running Windows Application on Ubuntu'>Running Windows Application on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2009/10/running-gui-software-from-remote-servers-with-xming/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH with a Web Browser</title>
		<link>http://www.vincentkong.com/2008/12/ssh-with-a-web-browser</link>
		<comments>http://www.vincentkong.com/2008/12/ssh-with-a-web-browser#comments</comments>
		<pubDate>Wed, 24 Dec 2008 07:32:03 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=121</guid>
		<description><![CDATA[A while back, I was using someone&#8217;s computer and I wanted to SSH into my server. The machine didn&#8217;t have any SSH client and I didn&#8217;t have my U3 Smart Drive with me. MindTerm is a client that implements the &#8230; <a href="http://www.vincentkong.com/2008/12/ssh-with-a-web-browser">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/06/setting-up-log4j-quickstart-guide' rel='bookmark' title='Setting Up Log4j Quickstart Guide'>Setting Up Log4j Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/12/sending-email-with-ant' rel='bookmark' title='Sending Email with Ant'>Sending Email with Ant</a></li>
<li><a href='http://www.vincentkong.com/2008/11/problem-using-mysql-jdbc-on-tomcat-55-and-ubuntu-804' rel='bookmark' title='Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04'>Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A while back, I was using someone&#8217;s computer and I wanted to SSH into my server.  The machine didn&#8217;t have any SSH client and I didn&#8217;t have my <a href="http://www.vincentkong.com/2007/07/u3-and-portableapp/">U3 Smart Drive</a> with me.</p>
<p>MindTerm is a client that implements the SSH protocols written in Java which can run as an Applet.  The basic syntax for embedding the MindTerm Applet in a web page is as follows:</p>
<pre>&lt;APPLET CODE="com.mindbright.application.MindTerm.class"
      ARCHIVE="mindterm.jar" WIDTH="400" HEIGHT="400"&gt;
    &lt;PARAM NAME="cabinets" VALUE="mindterm.cab"&gt;
    &lt;PARAM NAME="sepframe" value="true"&gt;
    &lt;PARAM NAME="debug" value="true"&gt;
&lt;/APPLET&gt;</pre>
<p>Due to the Java security model, the Applet requires to be sign, otherwise it won&#8217;t run properly and throw an <code>AccessControlException</code>, as shown in the Java console.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_exception.png"><img class="aligncenter size-medium wp-image-196" title="MindTerm AccessControlException" src="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_exception-300x214.png" alt="MindTerm AccessControlException" width="300" height="214" /></a></p>
<p>For information on how to sign an Applet refer to <a title="Permanent Link to Signing Java Applets Using RSA Certificate" href="http://www.vincentkong.com/2008/02/signing-java-applets-using-rsa-certificate/">Signing Java Applets Using RSA Certificate</a>.  After the Applet has been successfully signed a pop up will appear asking to accept the digital signature, and when accepted the Applet will have permission to run properly; this can be verify with the Java console again.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_signature.png"><img class="aligncenter size-medium wp-image-197" title="MindTerm Digital Signature" src="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_signature-300x187.png" alt="MindTerm Digital Signature" width="300" height="187" /></a></p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_granted.png"><img class="aligncenter size-medium wp-image-198" title="MindTerm Granted Permission" src="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_granted-300x271.png" alt="MindTerm Granted Permission" width="300" height="271" /></a></p>
<p>Now you can SSH from any computer that has a web browser and internet access.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_console.png"><img class="aligncenter size-medium wp-image-199" title="MindTerm Applet" src="http://www.vincentkong.com/wp-content/uploads/2008/05/mindterm_console-300x236.png" alt="MindTerm Applet" width="300" height="236" /></a></p>
<p>For more information refer to <a href="http://www.mindbright.com/products/80_MindTerm/50_Running_MindTerm/">Running MindTerm as an Applet</a></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/06/setting-up-log4j-quickstart-guide' rel='bookmark' title='Setting Up Log4j Quickstart Guide'>Setting Up Log4j Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/12/sending-email-with-ant' rel='bookmark' title='Sending Email with Ant'>Sending Email with Ant</a></li>
<li><a href='http://www.vincentkong.com/2008/11/problem-using-mysql-jdbc-on-tomcat-55-and-ubuntu-804' rel='bookmark' title='Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04'>Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/12/ssh-with-a-web-browser/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Restricting Shell for only SCP/SFTP</title>
		<link>http://www.vincentkong.com/2008/11/restricting-shell-for-only-scpsftp</link>
		<comments>http://www.vincentkong.com/2008/11/restricting-shell-for-only-scpsftp#comments</comments>
		<pubDate>Fri, 21 Nov 2008 06:28:30 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=227</guid>
		<description><![CDATA[If you have a server, but only want to allow users to copy files via sFTP without providing shell access. This can be done with rssh, a restricted shell for use with OpenSSH that allows only scp and/or sftp. To &#8230; <a href="http://www.vincentkong.com/2008/11/restricting-shell-for-only-scpsftp">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2009/01/restricting-shell-users-to-their-home-directory' rel='bookmark' title='Restricting Shell Users to their Home Directory'>Restricting Shell Users to their Home Directory</a></li>
<li><a href='http://www.vincentkong.com/2008/02/apache-http-authentication' rel='bookmark' title='Apache HTTP Authentication'>Apache HTTP Authentication</a></li>
<li><a href='http://www.vincentkong.com/2007/06/configuring-apache-for-ssl-support' rel='bookmark' title='Configuring Apache for SSL Support'>Configuring Apache for SSL Support</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you have a server, but only want to allow users to copy files via sFTP without providing shell access. This can be done with <code>rssh</code>, a restricted shell for use with OpenSSH that allows only scp and/or sftp.</p>
<p>To install <code>rssh</code></p>
<p><code>$ apt-get install rssh</code></p>
<p>By default <code>rssh</code> doesn&#8217;t allow anything, to allow only sftp modify the <code>rssh.conf</code> file.</p>
<p><code>$ nano /etc/rssh.conf</code></p>
<p>Uncomment the line for <code>allowsftp</code> and other transfer protocols you want to enable.</p>
<p><code>#allowscp<br />
allowsftp<br />
#allowcvs<br />
#allowrdist<br />
#allowrsync</code></p>
<p>To restrict a user to only allow sftp access, modify the <code>/etc/passwd</code> file</p>
<p><code>$ nano /etc/passwd</code></p>
<p>For example</p>
<p><code>ftp:x:100:100::/home/ftp:/usr/bin/rssh</code></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2009/01/restricting-shell-users-to-their-home-directory' rel='bookmark' title='Restricting Shell Users to their Home Directory'>Restricting Shell Users to their Home Directory</a></li>
<li><a href='http://www.vincentkong.com/2008/02/apache-http-authentication' rel='bookmark' title='Apache HTTP Authentication'>Apache HTTP Authentication</a></li>
<li><a href='http://www.vincentkong.com/2007/06/configuring-apache-for-ssl-support' rel='bookmark' title='Configuring Apache for SSL Support'>Configuring Apache for SSL Support</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/11/restricting-shell-for-only-scpsftp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surfing the Web using SSH Tunnel</title>
		<link>http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel</link>
		<comments>http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel#comments</comments>
		<pubDate>Sat, 23 Aug 2008 04:25:35 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tunnel]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=241</guid>
		<description><![CDATA[Sometimes, you are connected to an internet which is unknown/insecure such as public WiFi hotspots or you are just surfing the internet at work.  In these type of scenarios you might want to secure your connection so no one can &#8230; <a href="http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/03/ssh-through-http-proxies' rel='bookmark' title='SSH through HTTP Proxies'>SSH through HTTP Proxies</a></li>
<li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2009/05/http-tunnel-through-isa-server' rel='bookmark' title='HTTP Tunnel Through ISA Server'>HTTP Tunnel Through ISA Server</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sometimes, you are connected to an internet which is unknown/insecure such as public WiFi hotspots or you are just surfing the internet at work.  In these type of scenarios you might want to secure your connection so no one can sniff at what or where you&#8217;re surfing. One way to create a secure connection is to create an SSH tunnel, and have your web browser use it as a SOCKS proxy.</p>
<p>The first requirement is to have a remote host running an SSH server. e.g. a <a href="http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide/">box at home running OpenSSH</a>. Then, you need to have an SSH client installed on your local machine, for Windows you can use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty">PuTTY</a>.</p>
<h3>Establish an SSH tunnel using PuTTY:</h3>
<h4>Create a new PuTTY session</h4>
<p>Run PuTTY and create a new session to connect to the remote host. Fill in the hostname, the port (usually 22), make sure SSH is checked.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/07/putty_session.png"><img class="aligncenter size-medium wp-image-244" title="PuTTY Session" src="http://www.vincentkong.com/wp-content/uploads/2008/07/putty_session-300x290.png" alt="PuTTY Session" width="300" height="290" /></a></p>
<h4>Configure the Secure Tunnel</h4>
<p>Click on &#8220;Tunnels&#8221; on the left panel to set up dynamic fowarding for a local port. Under &#8220;Add new forwarded port&#8221; type in the port number (e.g. 4080) for the source port, leave the destination blank, and check Auto and Dynamic. Then click the &#8220;Add&#8221; button. You should see D4080 listed in the &#8220;Forwarded Ports&#8221; box.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/07/putty_tunnel.png"><img class="aligncenter size-medium wp-image-245" title="PuTTY Tunnel" src="http://www.vincentkong.com/wp-content/uploads/2008/07/putty_tunnel-300x290.png" alt="PuTTY Tunnel" width="300" height="290" /></a></p>
<h3>Establish an SSH tunnel on Linux:</h3>
<p>Use the following command:</p>
<p><code>$ ssh -D 4080 username@remote_host_server</code></p>
<p>The tunnel is created when you login to the SSH server.</p>
<h3>Configuring Your Web Browser:</h3>
<p>To use the SSH tunnel as a SOCKS proxy you need to change the connection settings in the browser.</p>
<p>In the Firefox Connection Settings:</p>
<ul>
<li> Check &#8220;Manual Proxy Configuration:&#8221;</li>
<li> Fill in 127.0.0.1 for the &#8220;SOCKS Host:&#8221; and 4080 for &#8220;Port:&#8221;</li>
<li> Check &#8220;SOCKS v5&#8243;</li>
</ul>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/07/firefox_proxy.png"><img class="aligncenter size-medium wp-image-246" title="Firefox Proxy Settings" src="http://www.vincentkong.com/wp-content/uploads/2008/07/firefox_proxy-272x300.png" alt="Firefox Proxy Settings" width="272" height="300" /></a></p>
<p>Once everything is done you are now surfing the web securely.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/03/ssh-through-http-proxies' rel='bookmark' title='SSH through HTTP Proxies'>SSH through HTTP Proxies</a></li>
<li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2009/05/http-tunnel-through-isa-server' rel='bookmark' title='HTTP Tunnel Through ISA Server'>HTTP Tunnel Through ISA Server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH through HTTP Proxies</title>
		<link>http://www.vincentkong.com/2008/03/ssh-through-http-proxies</link>
		<comments>http://www.vincentkong.com/2008/03/ssh-through-http-proxies#comments</comments>
		<pubDate>Sat, 29 Mar 2008 02:28:45 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Proxy]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tunnel]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=5</guid>
		<description><![CDATA[A couple of days ago my office implemented a new firewall which block almost all incoming and outgoing traffic, including SSH which prevented me from accessing my Linux server. The only thing that was accessible was the internet through a &#8230; <a href="http://www.vincentkong.com/2008/03/ssh-through-http-proxies">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2009/05/http-tunnel-through-isa-server' rel='bookmark' title='HTTP Tunnel Through ISA Server'>HTTP Tunnel Through ISA Server</a></li>
<li><a href='http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel' rel='bookmark' title='Surfing the Web using SSH Tunnel'>Surfing the Web using SSH Tunnel</a></li>
<li><a href='http://www.vincentkong.com/2009/06/installing-boutdutunnel-server-on-mono-xsp' rel='bookmark' title='Installing BoutDuTunnel Server on Mono XSP'>Installing BoutDuTunnel Server on Mono XSP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago my office implemented a new firewall which block almost all incoming and outgoing traffic, including SSH which prevented me from accessing my Linux server. The only thing that was accessible was the internet through a HTTP proxy which implemented filtering capabilties and required credentials. Fortunately, with this I&#8217;m able to create a tunnel and encapulate a SSH connection into HTTP.</p>
<p>To create a HTTP tunnel I chose to use the <a href="http://www.nocrew.org/software/httptunnel.html">GNU HTTP Tunnel</a> software which does the work to encapsulate TCP into HTTP requests.  For the Windows platform a <a href="http://www.neophob.com/serendipity/index.php?/archives/85-GNU-HTTPtunnel-v3.3-Windows-Binaries.html">binary version</a> is also available</p>
<p><strong>Setting up the tunnel</strong></p>
<p><strong><em>On the home computer (server):</em></strong></p>
<p>Install the GNU HTTP Tunnel with the following command:</p>
<p><code>$ apt-get install httptunnel</code></p>
<p>Start the HTTP Tunnel server:</p>
<p><code>$ hts --forward-port localhost:22 8080 </code></p>
<p>Here the HTTP Tunnel server receives HTTP requests through port 8080, decapsulates and re-assembles the ssh stream and forwards it to port 22, the SSH server.</p>
<p><strong><em>On the office computer (client):</em></strong></p>
<p>Start the HTTP Tunnel client:</p>
<p><code>$ htc --forward-port 900 --proxy OfficeProxy:8080 HomeComputer:8080</code></p>
<p>Here the HTTP Tunnel client listens on port 900 for a ssh stream, as well it establishes a TCP connection which can pass data back and forth to the home computer through the HTTP proxy.</p>
<p>If the proxy requires authentication, add <code>--proxy-authorization username:password</code> to the <code>htc</code> command line.</p>
<p>Finally to establish a SSH connection run the following:</p>
<p><code>$ ssh username@localhost:900</code></p>
<p>For information:  <a href="http://sebsauvage.net/punching">Punching holes into firewalls</a></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2009/05/http-tunnel-through-isa-server' rel='bookmark' title='HTTP Tunnel Through ISA Server'>HTTP Tunnel Through ISA Server</a></li>
<li><a href='http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel' rel='bookmark' title='Surfing the Web using SSH Tunnel'>Surfing the Web using SSH Tunnel</a></li>
<li><a href='http://www.vincentkong.com/2009/06/installing-boutdutunnel-server-on-mono-xsp' rel='bookmark' title='Installing BoutDuTunnel Server on Mono XSP'>Installing BoutDuTunnel Server on Mono XSP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/03/ssh-through-http-proxies/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remote Desktop with SSH Tunneling</title>
		<link>http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling</link>
		<comments>http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling#comments</comments>
		<pubDate>Fri, 20 Jul 2007 03:44:56 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tunnel]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=56</guid>
		<description><![CDATA[Remote Desktop enables you to connect to your computer across the Internet from a computer. Once connected, you can control your computer using the mouse and keyboard while showing you everything that&#8217;s happening on the screen. With this, you can &#8230; <a href="http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='http://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
<li><a href='http://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Remote Desktop enables you to connect to your computer across the Internet from a computer. Once connected, you can control your computer using the mouse and keyboard while showing you everything that&#8217;s happening on the screen. With this, you can access your files, applications, and e-mail while leaving your computer at home or in the office.</p>
<p>Remote Desktop is very convenient, it suffers from to flaws: Although the connection uses 128-bit encryption, it still has the man-in-the-middle vulnerability where the traffic can be decrypted along the way. The default port of Remote Desktop is also 3389 which in most circumstances is blocked by firewalls in the network.</p>
<p>A solution to these flaws is to use Remote Desktop through a SSH tunnel.</p>
<p><strong>SSH Server</strong></p>
<p>The first requirement is to have an SSH server existing on your network. If you already have a Linux server like Ubuntu then you can <a href="http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide/">install OpenSSH</a>. However, if you only have computers with Windows then you can install <a href="http://www.itefix.no/phpws/index.php?module=pagemaster&amp;PAGE_user_op=view_page&amp;PAGE_id=12&amp;MMN_position=149:149">copSSH</a>.</p>
<p><strong>Port Forwarding for SSH</strong></p>
<p>To access the SSH server from a remote location you need to do port forwarding on port 22 through any firewall and router.</p>
<p><strong>Enabling Remote Desktop</strong></p>
<p>To enable Remote Desktop on Windows XP, right click on &#8220;My Computer&#8221;, and select &#8220;Properties&#8221;. Under the &#8220;Remote&#8221; tab check the box &#8220;Allow users to connect remotely to this computer&#8221;. The Remote Desktop user will require a password associated with the account.</p>
<p><strong>Connecting to the SSH Server</strong></p>
<p>To connect to your SSH Server remotely requires knowledge of your public IP address. This can be checked easily using the website <a title="http://checkip.dyndns.org" href="http://checkip.dyndns.org/">http://checkip.dyndns.org</a>.  If you are using an ISP that provides you with a dynamic IP address, then you can setup a free account with No-IP <a title="http://www.no-ip.com" href="http://www.no-ip.com/">http://www.no-ip.com</a> or DynDNS <a title="http://www.dyndns.com" href="http://www.dyndns.com/">http://www.dyndns.com</a> where they can provide you with a fully qualified domain name.</p>
<p><strong>Install/Configuring PuTTY</strong></p>
<p>To open a SSH tunnel from the remote computer to your SSH server, you need to install PuTTY <a title="http://www.chiark.greenend.org.uk/~sgtatham/putty" href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty">http://www.chiark.greenend.org.uk/~sgtatham/putty</a> on the remote client computer.  Open the application after installation is completed.</p>
<ol>
<li>Expand &#8220;SSH&#8221; under &#8220;Connection&#8221;, and then go to &#8220;Tunnels&#8221;.</li>
<li>Under &#8220;Add new forwarded port:&#8221; enter a port number beside &#8220;Source port&#8221; e.g. 3390</li>
<li>Beside &#8220;Destination&#8221; enter your computer name or computer local IP address along with the port for Remote Desktop 3389 e.g. 192.168.1.10:3389, and click on the &#8220;Add&#8221; button.</li>
</ol>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/putty1.png"><img class="aligncenter size-medium wp-image-139" title="PuTTY screenshot 1" src="http://www.vincentkong.com/wp-content/uploads/2008/05/putty1-300x290.png" alt="PuTTY screenshot 1" width="300" height="290" /></a></p>
<p>Use a different Source port for each additional Remote Desktop host PC.</p>
<p>To improve traffic click on &#8220;SSH&#8221; under &#8220;Connection&#8221;.  Check the box &#8220;Enable Compression&#8221;</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/putty2.png"><img class="aligncenter size-medium wp-image-140" title="PuTTY screenshot 2" src="http://www.vincentkong.com/wp-content/uploads/2008/05/putty2-300x290.png" alt="PuTTY screenshot 2" width="300" height="290" /></a></p>
<p>Click on &#8220;Session&#8221; and under the &#8220;Host Name (or IP address)&#8221; enter the public IP address or a fully qualified domain name of the SSH server PC. Enter a unique name in the &#8220;Saved Sessions&#8221; window and click on &#8220;Save&#8221;. Click on &#8220;Open&#8221; and login to the SSH server with the appropriate user and password information.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/putty3.png"><img class="aligncenter size-medium wp-image-141" title="PuTTY screenshot 3" src="http://www.vincentkong.com/wp-content/uploads/2008/05/putty3-300x290.png" alt="PuTTY screenshot 3" width="300" height="290" /></a></p>
<p><strong>SSH Tunneling the Remote Desktop session</strong></p>
<p>Establishing a Remote Desktop connection through SSH tunnel is accomplished when PuTTY is started and the user has logged on to the SSH server. To Remote Desktop from the client computer, on the client computer go to &#8220;Start&#8221; &gt; &#8220;All Programs&#8221; &gt; &#8220;Accessories&#8221; &gt; &#8220;Communications&#8221; and select &#8220;Remote Desktop Connection&#8221;. In the &#8220;Computer:&#8221; textbox enter &#8220;localhost:3390&#8243;, and click on the &#8220;Connect&#8221; button.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/remotedesktop.png"><img class="aligncenter size-medium wp-image-142" title="Remote Desktop Connection screenshot" src="http://www.vincentkong.com/wp-content/uploads/2008/05/remotedesktop-300x133.png" alt="Remote Desktop Connection screenshot" width="300" height="133" /></a></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/01/remote-desktop-on-ubuntu' rel='bookmark' title='Remote Desktop on Ubuntu'>Remote Desktop on Ubuntu</a></li>
<li><a href='http://www.vincentkong.com/2008/02/remote-desktop-on-xubuntu' rel='bookmark' title='Remote Desktop on Xubuntu'>Remote Desktop on Xubuntu</a></li>
<li><a href='http://www.vincentkong.com/2008/02/portable-remote-desktop-client-for-windows' rel='bookmark' title='Portable Remote Desktop Client for Windows'>Portable Remote Desktop Client for Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH Authentication with public-key</title>
		<link>http://www.vincentkong.com/2007/05/ssh-authentication-with-public-key</link>
		<comments>http://www.vincentkong.com/2007/05/ssh-authentication-with-public-key#comments</comments>
		<pubDate>Thu, 10 May 2007 16:04:07 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=98</guid>
		<description><![CDATA[To create the private and public keys type on the unix prompt: $ ssh-keygen You can use the default location, and not use a passphrase. The keys will be created in the directory: /home/&#60;username&#62;/.ssh/ Inside this directory you&#8217;ll find two &#8230; <a href="http://www.vincentkong.com/2007/05/ssh-authentication-with-public-key">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel' rel='bookmark' title='Surfing the Web using SSH Tunnel'>Surfing the Web using SSH Tunnel</a></li>
<li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2008/02/apache-http-authentication' rel='bookmark' title='Apache HTTP Authentication'>Apache HTTP Authentication</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To create the private and public keys type on the unix prompt:</p>
<p><code>$ ssh-keygen</code></p>
<p>You can use the default location, and not use a passphrase. The keys will be created in the directory:</p>
<p><code>/home/&lt;username&gt;/.ssh/</code></p>
<p>Inside this directory you&#8217;ll find two files <code>id_rsa</code> (the private key), and <code>id_rsa.pub</code> (the public key).</p>
<p>Login into the remote server and created the &#8216;.ssh&#8217; under the home directory. Ensure the directory only has permissions to the owner.</p>
<p><code>$ ssh &lt;remote username&gt;@&lt;remote hostname&gt;<br />
$ mkdir .ssh<br />
$ chmod 700 .ssh<br />
</code></p>
<p>Go back to your host server and copy the public key to the remote server.</p>
<p><code>$ sftp &lt;remote username&gt;@&lt;remote hostname&gt;<br />
$ put /home/&lt;username&gt;/.ssh/id_rsa.pub ./ssh</code></p>
<p>Login into the remote server again and rename the public key to <code>authorized_keys</code>. Also ensure the file only has permissions to the owner.</p>
<p><code>$ ssh &lt;remote username&gt;@&lt;remote hostname&gt;<br />
$ cd .ssh<br />
$ mv id_rsa.pub authorized_keys<br />
$ chmod 600 authorized_keys </code></p>
<p>Next time you ssh to the remote server, you should be logged in automatically without needing to enter a password.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/08/surfing-the-web-using-ssh-tunnel' rel='bookmark' title='Surfing the Web using SSH Tunnel'>Surfing the Web using SSH Tunnel</a></li>
<li><a href='http://www.vincentkong.com/2007/07/remote-desktop-with-ssh-tunneling' rel='bookmark' title='Remote Desktop with SSH Tunneling'>Remote Desktop with SSH Tunneling</a></li>
<li><a href='http://www.vincentkong.com/2008/02/apache-http-authentication' rel='bookmark' title='Apache HTTP Authentication'>Apache HTTP Authentication</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/05/ssh-authentication-with-public-key/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSH for Ubuntu Quickstart Guide</title>
		<link>http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide</link>
		<comments>http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide#comments</comments>
		<pubDate>Thu, 10 May 2007 16:02:35 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=97</guid>
		<description><![CDATA[OpenSSH (Open Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol. Installing OpenSSH for Ubuntu From the Ubuntu desktop: Go to System &#62; Administration &#62; Synapatic Package Manager Search &#8230; <a href="http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/ubuntu-quickstart-guide' rel='bookmark' title='Ubuntu Quickstart Guide'>Ubuntu Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/01/samba-on-ubuntu-quickstart-guide' rel='bookmark' title='Samba on Ubuntu Quickstart Guide'>Samba on Ubuntu Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/01/vsftpd-on-ubuntu-quickstart-guide' rel='bookmark' title='vsftpd on Ubuntu Quickstart Guide'>vsftpd on Ubuntu Quickstart Guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>OpenSSH</strong> (<strong>Open Secure Shell</strong>) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.</p>
<p><strong>Installing OpenSSH for Ubuntu</strong></p>
<p>From the Ubuntu desktop:</p>
<ol>
<li>Go to System &gt; Administration &gt; Synapatic Package Manager</li>
<li>Search for &#8220;openssh-server&#8221; and &#8220;Mark for installation&#8221;</li>
<li>Click on the &#8220;Apply&#8221; to install</li>
</ol>
<p>From the command line:</p>
<p><code>$ sudo apt-get install openssh-server</code></p>
<p><strong>Configuration Files</strong></p>
<p>The configuration files for OpenSSH is located in:</p>
<p><code>/etc/ssh</code></p>
<p><strong>Disabling SSH Root Logins</strong></p>
<p>Edit the <code>/etc/ssh/sshd_config</code> file and set the <code>PermitRootLogin</code> parameter to no.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/ubuntu-quickstart-guide' rel='bookmark' title='Ubuntu Quickstart Guide'>Ubuntu Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/01/samba-on-ubuntu-quickstart-guide' rel='bookmark' title='Samba on Ubuntu Quickstart Guide'>Samba on Ubuntu Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/01/vsftpd-on-ubuntu-quickstart-guide' rel='bookmark' title='vsftpd on Ubuntu Quickstart Guide'>vsftpd on Ubuntu Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/05/openssh-for-ubuntu-quickstart-guide/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

