<?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>Sean&#039;s Blog &#187; 22</title>
	<atom:link href="http://seanbehan.com/tag/22/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Programming, Ruby on Rails, Wordpress, PHP from Burlington, Vermont</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:44:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Change default ssh port number on Ubuntu</title>
		<link>http://seanbehan.com/linux/change-default-ssh-port-number-on-ubuntu/</link>
		<comments>http://seanbehan.com/linux/change-default-ssh-port-number-on-ubuntu/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 16:46:42 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[22]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=499</guid>
		<description><![CDATA[Login as the root user or as a user that can execute sudo commands. #open this file for editing... vim /etc/ssh/sshd_config Find the line that reads Port 22 Change this to an different and an available port number&#8230; Port 8000 Next reload ssh /etc/init.d/ssh reload You won&#8217;t be kicked out of your session. But if [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Flinux%2Fchange-default-ssh-port-number-on-ubuntu%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Change default ssh port number on Ubuntu" data-url="http://seanbehan.com/linux/change-default-ssh-port-number-on-ubuntu/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Login as the root user or as a user that can execute sudo commands.</p>
<pre class="wp-code-highlight prettyprint">
#open this file for editing...
vim /etc/ssh/sshd_config
</pre>
<p>Find the line that reads</p>
<pre class="wp-code-highlight prettyprint">
Port 22
</pre>
<p>Change this to an different and an available port number&#8230;</p>
<pre class="wp-code-highlight prettyprint">
Port 8000
</pre>
<p>Next reload ssh</p>
<pre class="wp-code-highlight prettyprint">
/etc/init.d/ssh reload
</pre>
<p>You won&#8217;t be kicked out of your session. But if you want to open a new connection to your server you need to specify the port number for the connection.</p>
<pre class="wp-code-highlight prettyprint">
ssh -p8000 root@yourdomain.com
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/linux/change-default-ssh-port-number-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

