<?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>acloudtree &#187; Server</title>
	<atom:link href="http://www.acloudtree.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acloudtree.com</link>
	<description>Programming, Computers, Writing, Economics, and Life</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:03:38 +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>Internet services for a nerd in Central Oregon?</title>
		<link>http://www.acloudtree.com/internet-services-for-a-nerd-in-central-oregon/</link>
		<comments>http://www.acloudtree.com/internet-services-for-a-nerd-in-central-oregon/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 17:04:54 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[bend]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[oregon]]></category>
		<category><![CDATA[central oregon]]></category>
		<category><![CDATA[Collocation]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Question of the day]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=436</guid>
		<description><![CDATA[Currently this blog along with some of my other projects are on a shared hosting platform. As some of my ideas get crazier and crazier, I realize that I need to compile several of the dependencies myself and this has been extremely problematic with my shared host. So what solutions do local geeks use? Do [...]]]></description>
			<content:encoded><![CDATA[<p>Currently this blog along with some of my other projects are on a shared hosting platform. As some of my ideas get crazier and crazier, I realize that I need to compile several of the dependencies myself and this has been extremely problematic with my shared host. So what solutions do local geeks use?</p>
<p style="padding-left: 30px;">Do you self host with a reserved static IP?<br />
Do you collocate at a facility?<br />
Do you rent a dedicated server?</p>
<p>Comments or emails are welcome and thanks in advance!</p>
<p>jared.folkins[at]gmail[dot]com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/internet-services-for-a-nerd-in-central-oregon/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>(Nerd) How to: Reconfigure SSH listening port on Ubuntu 9.10</title>
		<link>http://www.acloudtree.com/nerd-how-to-reconfigure-ssh-listening-port-on-ubuntu-9-10/</link>
		<comments>http://www.acloudtree.com/nerd-how-to-reconfigure-ssh-listening-port-on-ubuntu-9-10/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 17:59:54 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[housing]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Nerd]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[reconfigure]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=297</guid>
		<description><![CDATA[1) Make sure that you have have ssh installed on your system. sudo apt-get install openssh-server openssh-client 2) Open the sshd_config file using VI sudo vi /etc/ssh/sshd_config 3) Here is the file in its entirety that was created by the installation process 1 2 3 4 5 6 7 8 9 10 11 12 13 [...]]]></description>
			<content:encoded><![CDATA[<p>1) Make sure that you have have ssh installed on your system.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> openssh-server openssh-client</pre></div></div>

<p>2) Open the sshd_config file using VI</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>sshd_config</pre></div></div>

<p>3) Here is the file in its entirety that was created by the installation process</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Package generated configuration file</span>
<span style="color: #666666; font-style: italic;"># See the sshd(8) manpage for details</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># What ports, IPs and protocols we listen for</span>
Port <span style="color: #000000;">22</span>
<span style="color: #666666; font-style: italic;"># Use these options to restrict which interfaces/protocols sshd will bind to</span>
<span style="color: #666666; font-style: italic;">#ListenAddress ::</span>
<span style="color: #666666; font-style: italic;">#ListenAddress 0.0.0.0</span>
Protocol <span style="color: #000000;">2</span>
<span style="color: #666666; font-style: italic;"># HostKeys for protocol version 2</span>
HostKey <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>ssh_host_rsa_key
HostKey <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>ssh_host_dsa_key
<span style="color: #666666; font-style: italic;">#Privilege Separation is turned on for security</span>
UsePrivilegeSeparation <span style="color: #c20cb9; font-weight: bold;">yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Lifetime and size of ephemeral version 1 server key</span>
KeyRegenerationInterval <span style="color: #000000;">3600</span>
ServerKeyBits <span style="color: #000000;">768</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Logging</span>
SyslogFacility AUTH
LogLevel INFO
&nbsp;
<span style="color: #666666; font-style: italic;"># Authentication:</span>
LoginGraceTime <span style="color: #000000;">120</span>
PermitRootLogin <span style="color: #c20cb9; font-weight: bold;">yes</span>
StrictModes <span style="color: #c20cb9; font-weight: bold;">yes</span>
&nbsp;
RSAAuthentication <span style="color: #c20cb9; font-weight: bold;">yes</span>
PubkeyAuthentication <span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #666666; font-style: italic;">#AuthorizedKeysFile	%h/.ssh/authorized_keys</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Don't read the user's ~/.rhosts and ~/.shosts files</span>
IgnoreRhosts <span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #666666; font-style: italic;"># For this to work you will also need host keys in /etc/ssh_known_hosts</span>
RhostsRSAAuthentication no
<span style="color: #666666; font-style: italic;"># similar for protocol version 2</span>
HostbasedAuthentication no
<span style="color: #666666; font-style: italic;"># Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication</span>
<span style="color: #666666; font-style: italic;">#IgnoreUserKnownHosts yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># To enable empty passwords, change to yes (NOT RECOMMENDED)</span>
PermitEmptyPasswords no
&nbsp;
<span style="color: #666666; font-style: italic;"># Change to yes to enable challenge-response passwords (beware issues with</span>
<span style="color: #666666; font-style: italic;"># some PAM modules and threads)</span>
ChallengeResponseAuthentication no
&nbsp;
<span style="color: #666666; font-style: italic;"># Change to no to disable tunnelled clear text passwords</span>
<span style="color: #666666; font-style: italic;">#PasswordAuthentication yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Kerberos options</span>
<span style="color: #666666; font-style: italic;">#KerberosAuthentication no</span>
<span style="color: #666666; font-style: italic;">#KerberosGetAFSToken no</span>
<span style="color: #666666; font-style: italic;">#KerberosOrLocalPasswd yes</span>
<span style="color: #666666; font-style: italic;">#KerberosTicketCleanup yes</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># GSSAPI options</span>
<span style="color: #666666; font-style: italic;">#GSSAPIAuthentication no</span>
<span style="color: #666666; font-style: italic;">#GSSAPICleanupCredentials yes</span>
&nbsp;
X11Forwarding <span style="color: #c20cb9; font-weight: bold;">yes</span>
X11DisplayOffset <span style="color: #000000;">10</span>
PrintMotd no
PrintLastLog <span style="color: #c20cb9; font-weight: bold;">yes</span>
TCPKeepAlive <span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #666666; font-style: italic;">#UseLogin no</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#MaxStartups 10:30:60</span>
<span style="color: #666666; font-style: italic;">#Banner /etc/issue.net</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Allow client to pass locale environment variables</span>
AcceptEnv LANG LC_<span style="color: #000000; font-weight: bold;">*</span>
&nbsp;
Subsystem sftp <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>openssh<span style="color: #000000; font-weight: bold;">/</span>sftp-server
&nbsp;
UsePAM <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></td></tr></table></div>

<p>4) But we are mainly concerned with this part right here</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Package generated configuration file</span>
<span style="color: #666666; font-style: italic;"># See the sshd(8) manpage for details</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># What ports, IPs and protocols we listen for</span>
Port <span style="color: #000000;">22</span>
&nbsp;
...</pre></td></tr></table></div>

<p>5) Change the default port that is currently 22, to a non standard port. I changed mine to 22999</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Package generated configuration file</span>
<span style="color: #666666; font-style: italic;"># See the sshd(8) manpage for details</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># What ports, IPs and protocols we listen for</span>
Port <span style="color: #000000;">22999</span>
&nbsp;
...</pre></td></tr></table></div>

<p>6) Write/Quite so that you can save the changes to the file.</p>
<p>7) Now, all we have to do is restart the ssh daemon and it will listen from the new port.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span> restart</pre></div></div>

<p>8 ) Finally, from another linux (or whatever OS you prefer) box, use the SSH client and login to your newly reconfigured server. Make sure to change the port using the &#8216;-p&#8217; flag.</p>
<p>Example: ssh YOUR_USERNAME@IP_ADDRESS_OF_SERVER -p 22999</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> jaredfolkins<span style="color: #000000; font-weight: bold;">@</span>192.168.1.107 <span style="color: #660033;">-p</span> <span style="color: #000000;">22999</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/nerd-how-to-reconfigure-ssh-listening-port-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

