<?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>HostEntrepreneur &#187; security</title>
	<atom:link href="http://HostEntrepreneur.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://HostEntrepreneur.com</link>
	<description>Hosting news, reviews, tips, tricks and help</description>
	<lastBuildDate>Wed, 17 Feb 2010 14:00:50 +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>Webinar: MySQL in the Cloud &#8211; Part 1: Introduction</title>
		<link>http://HostEntrepreneur.com/2010/02/01/webinar-mysql-in-the-cloud-part-1-introduction/</link>
		<comments>http://HostEntrepreneur.com/2010/02/01/webinar-mysql-in-the-cloud-part-1-introduction/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 14:00:58 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://HostEntrepreneur.com/?p=226</guid>
		<description><![CDATA[http://www.mysql.com/news-and-events/web-seminars/display-507.html Thursday, February 25, 2010 Join us for Part 1 of the MySQL in the Cloud webinar series with Jimmy Guerrero and Mike Frank of the MySQL group at Sun Microsystems. In this presentation we will explore the benefits and some specifics related to deploying and managing MySQL in a “cloud” environment. We will discus [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mysql.com/news-and-events/web-seminars/display-507.html">http://www.mysql.com/news-and-events/web-seminars/display-507.html</a></p>
<p><strong>Thursday, February 25, 2010</strong></p>
<p>Join us for Part 1 of the MySQL in the Cloud webinar series with Jimmy Guerrero and Mike Frank of the MySQL group at Sun Microsystems. In this presentation we will explore the benefits and some specifics related to deploying and managing MySQL in a “cloud” environment. We will discus several cloud computing platforms suitable for hosting MySQL, including the Joyent Public Cloud, Amazon EC2 and Windows Azure. Included will be a discussion of cloud enabling technologies like VMWare and Xen. If you are interested in learning how to leverage cloud computing with MySQL, this webinar is for you.</p>
<h4>WHO:</h4>
<ul>
<li><strong>Jimmy Guerrero</strong>, Sr Product Marketing Manager &#8211; Sun Microsystems</li>
<li><strong>Mike Frank</strong>, Sr Product Marketing Manager &#8211; Sun Microsystems</li>
</ul>
<h4>WHAT:</h4>
<p><strong>MySQL in the Cloud &#8211; Part 1: Introduction to Deploying MySQL in the Cloud</strong> web presentation.</p>
<h4>WHEN:</h4>
<p> </p>
<p><strong>Thursday, February 25, 2010: 10:00 Pacific time (America)</strong></p>
<table>
<tbody>
<tr>
<td>Thu, Feb 25: </td>
<td>08:00 Hawaii time</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>11:00 Mountain time (America)</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>12:00 Central time (America)</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>13:00 Eastern time (America)</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>18:00 UTC</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>18:00 Western European time</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>19:00 Central European time</td>
</tr>
<tr>
<td>Thu, Feb 25: </td>
<td>20:00 Eastern European time</td>
</tr>
</tbody>
</table>
<p>The presentation will be approximately 45 minutes long followed by Q&amp;A.</p>
]]></content:encoded>
			<wfw:commentRss>http://HostEntrepreneur.com/2010/02/01/webinar-mysql-in-the-cloud-part-1-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install an SSL certificate through Plesk on a Dedicated server</title>
		<link>http://HostEntrepreneur.com/2009/11/13/install-an-ssl-certificate-through-plesk-on-a-dedicated-server/</link>
		<comments>http://HostEntrepreneur.com/2009/11/13/install-an-ssl-certificate-through-plesk-on-a-dedicated-server/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 14:30:13 +0000</pubDate>
		<dc:creator>Leif</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://HostEntrepreneur.com/?p=201</guid>
		<description><![CDATA[You can install SSL certificates on both Windows as well as Linux Dedicated Servers. SSL (Secure Socket Layer) certificate is used for the e-commerce websites. This is generally done for the security of the website. It is highly recommended for the websites where money is transacted or the website which needs some sort of security. [...]]]></description>
			<content:encoded><![CDATA[<p>You can install SSL certificates on both Windows as well as Linux <a href="http://micfo.com/dedicated-servers-web-hosting.html">Dedicated Servers</a>. SSL (Secure Socket Layer) certificate is used for the e-commerce websites. This is generally done for the security of the website. It is highly recommended for the websites where money is transacted or the website which needs some sort of security. You can install SSL certificate on your domain through Plesk control panel with the help of the easy steps which are given below :-</p>
<p>1) First login to your Plesk control panel.</p>
<p>2) Then select the domain on which you wish to install the SSL certificate.</p>
<p>3) Then select the &#8220;certificates&#8221; icon.</p>
<p>4) Then select the icon &#8220;Add New Certificate&#8221;.</p>
<p>5) Give the certificate a name. This is for your reference only.</p>
<p>6) Then generate a certificate request which you will submit to the Certified Authority (CA).</p>
<p>7) Once you are done with it, come back to the previous page.</p>
<p> <img src='http://HostEntrepreneur.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Then select the certificate 1 which is given below the page.</p>
<p>9) Copy the CSR (Certificate Signing Request) and the Private key. You will need to submit these in your application to the Certified Authority (CA).</p>
<p>10) Once you have done that and submitted the CA your SSL certificate will be installed on the domain you have selected.</p>
<p>If you do not wish to get into all this, your web hosting provider can provide you with the SSL certificate on the domain you wish to. You will have to pay some charges to your web hosting provider for the SSL certificate. It might be possible that your web hosting provider does not provide SSL certicates and if this is the case, then you will have to do it on your own with the above given steps.</p>
<p>Note : You will have to purchase a Dedicated IP for the domain you wish to have the SSL certicate on both Windows as well as Linux <a href="http://micfo.com/dedicated-servers-web-hosting.html">Dedicated Servers</a>. You cannot install the SSL certificate on the domain if the domain does not have a Dedicated IP.</p>
]]></content:encoded>
			<wfw:commentRss>http://HostEntrepreneur.com/2009/11/13/install-an-ssl-certificate-through-plesk-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email yourself when you log in&#8230;</title>
		<link>http://HostEntrepreneur.com/2009/08/20/email-yourself-when-you-log-in/</link>
		<comments>http://HostEntrepreneur.com/2009/08/20/email-yourself-when-you-log-in/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 05:01:52 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://HostEntrepreneur.com/?p=67</guid>
		<description><![CDATA[Ok for the past couple of days, we&#8217;ve been trying to help harden your server a little bit to prevent break ins&#8230; But if there is one, you want to know as quickly as possible! So setup your login to email you whenever you login. But, you say, wouldn&#8217;t they just disable that when they [...]]]></description>
			<content:encoded><![CDATA[<p>Ok for the past couple of days, we&#8217;ve been trying to help harden your server a little bit to prevent break ins&#8230; But if there is one, you want to know as quickly as possible! So setup your login to email you whenever you login. But, you say, wouldn&#8217;t they just disable that when they login? They could if they think to&#8230; but that first email should have already gone out. And by all means PLEASE make sure it goes to an off server email address. And you do use different passwords for each account right?? I thought so.</p>
<p>Login to your server. You should be in your home directory, if not go there with &#8216;cd ~&#8217;<br />
vi (or pico, vim, etc.) .bash_profile</p>
<p>At the end add this:</p>
<blockquote><p># User specific environment and startup programs</p>
<p># Email admin when user logs in as root<br />
rootalert() {<br />
  echo &#8216;ALERT &#8211; Root Shell Login&#8217;<br />
  echo<br />
  echo &#8216;Server: &#8216;`hostname`<br />
  echo &#8216;Time: &#8216;`date`<br />
  echo &#8216;User: &#8216;`who | awk &#8216;{ print $1 }&#8217;`<br />
  echo &#8216;TTY: &#8216;`who | awk &#8216;{ print $2 }&#8217;`<br />
  echo &#8216;Source: &#8216;`who | awk &#8216;{ print $5 }&#8217;`<br />
  echo<br />
  echo<br />
  echo &#8216;This email is an alert automatically created by your server telling you that someone, even if it is you, logged into SSH as the root user.  If you or someone you know and trust logged in as root, disregard this email.  If you or someone you know and trust did not login to the server as root, then you may have a hack attempt in progress on your server.&#8217;<br />
}<br />
rootalert | mail -s &#8220;Alert: `who | awk &#8216;{ print $1 }&#8217;` Login [`hostname`]&#8221; (your OFFSITE email address)</p></blockquote>
<p>By the way those wierd looking single quotes are the one on the key to the left of the 1 key on the top row of the keyboard. They tell the shell to execute the command between taking their output for the line it&#8217;s on. In this case, printing out pieces of login information. So go ahead and save and close the file.  Before logging out  type &#8216;sh .bash_profile&#8217;   and check that it execute cleanly, and emails you like it should.</p>
<p>So now if someone logs into your account, you will get an email. If it happens when you weren&#8217;t expecting it (as when you didn&#8217;t login yourself), you will know about it&#8230; Plus you&#8217;ll have the ip address they were on when they did&#8230; well, you&#8217;ll have the ip address of the last machine before they reached you as they will often go from one machine to the next. But it&#8217;s more than you had. And if you didn&#8217;t know, who knows how long they could hide out there and what damage they could cause.</p>
]]></content:encoded>
			<wfw:commentRss>http://HostEntrepreneur.com/2009/08/20/email-yourself-when-you-log-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making SSH password-less</title>
		<link>http://HostEntrepreneur.com/2009/08/19/making-ssh-password-less/</link>
		<comments>http://HostEntrepreneur.com/2009/08/19/making-ssh-password-less/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 05:01:08 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://HostEntrepreneur.com/?p=61</guid>
		<description><![CDATA[If you didn&#8217;t read yesterday&#8217;s post on changing SSHD&#8217;s port number, I suggest you start there and then come back to this. Here&#8217;s the link: http://hostentrepreneur.com/2009/08/18/changing-your-ssh-port/ I find this provides dual benefits&#8230; One, passwords are too easy to crack sometimes (or too easy to forget if you actually are one who makes them difficult to [...]]]></description>
			<content:encoded><![CDATA[<p>If you didn&#8217;t read yesterday&#8217;s post on changing SSHD&#8217;s port number, I suggest you start there and then come back to this. Here&#8217;s the link: <a href="http://hostentrepreneur.com/2009/08/18/changing-your-ssh-port/">http://hostentrepreneur.com/2009/08/18/changing-your-ssh-port/</a></p>
<p>I find this provides dual benefits&#8230; One, passwords are too easy to crack sometimes (or too easy to forget if you actually are one who makes them difficult to crack). And two, it actually makes ssh&#8217;ing into the server easier. What we&#8217;re going to do is generate key pairs for the server and your client, and then use that to authenticate to the server.</p>
<ol>
<li>First get a SSH session going. And like yesterday, don&#8217;t close it until I tell you.</li>
<li>Generate the user&#8217;s keypair on the server with &#8220;keygen -t rsa&#8221;.  This will go into .ssh directory off the user&#8217;s home directory &#8211; you&#8217;ll need these to ssh to other boxes and it creates the .ssh directory for you.</li>
<li>cd ~/.ssh</li>
<li>Next create a keypair on the client. For putty this is done with PuTTYgen. If you use something else you&#8217;ll need to lookup how for that client.  This will create a couple of files for you&#8230; id_rsa.pub is the public key file and id_rsa.ppk is the private key.</li>
<li>Transfer the public key to the server in user&#8217;s home/.ssh directory with a NEW NAME. Don&#8217;t overwrite anything!</li>
<li>If a authorized_keys2 already exists you will need to cat the file onto the end with &#8216;cat (filename) &gt;&gt; authorized_keys2&#8242;   NOTE the double greater than. That means append it to the end.  If you mess this up other keys will be lost.</li>
<li>I also recommend that if you are going to have multiple keys for the user, you edit the comment at the end of the line you just added to authorized_keys2. The comment is the portion at the end after the second space. The line&#8217;s format is (ke type)(space)(key)(space)(comment) So you&#8217;ll see something like &#8220;ssh-rsa (lots of letters and numbers) rsa-key-YYYYMMDD  where YYYYMMDD is the year month and day you made the key. It&#8217;s that last bit (and only that last bit) you can safely change.</li>
<li>Make sure the authorized_keys2 file is readable only by you (chmod 600 or 700).</li>
<li>If this is going to be for the root user do steps 9 -</li>
<li>cd /etc/ssh</li>
<li>cp sshd_config sshd_config.save</li>
<li>vi (or vim, pico,etc) sshd_config</li>
<li>find the PermitRootLogin  line and change it to read &#8216;PermitRootLogin without-password&#8217;</li>
<li>Save/close  the file</li>
<li>Restart sshd with &#8216;service sshd restart&#8217; or &#8216;/etc/init.d/sshd restart&#8217;  &#8212; Remember don&#8217;t close your session until we know everything works correctly!!</li>
<li>Start another PuTTY, and load (not start) the session</li>
<li>On the left-hand side, select the Data Category under Connection</li>
<li>Specify the user&#8217;s name in the Auto-login username field</li>
<li>Again under Connection, expand out the SSH branch and select Auth</li>
<li>Click the browse button for the Private key for authentication field and find and select the id_rsa.ppk file you created in step 4.</li>
<li>This one has caught me a couple of times&#8230; Go back up to the Sessions branch all the way at the top left side, and click Save for the session on the right. Otherwise, you&#8217;re going to do the PuTTY side config again.</li>
<li>Test the passwordless login&#8230; Be absolutely sure it works, before dropping that first session. If it doesn&#8217;t you NEED to restore the sshd_config.save file back to sshd_config AND restart SSHD again, undo the PuTTY changes and test that you have put it back to where you can get in again BEFORE you drop that connection.</li>
</ol>
<p>Provided everything worked, you now have an automated login that&#8217;s using a nice long keypair and not some little password&#8230; and provided you did yesterday&#8217;s changing of SSHD port numbers, you&#8217;ve probably locked out 99+% of anyone&#8217;s chance of getting into you machine through brute force methods, so take a break and enjoy the enhanced security (well until you learn about all the other methods of getting into the machine anyway&#8230;) Seriously though, most hack attempts prey on the people that don&#8217;t take the precautions, so you&#8217;ve just dropped your chances quite a bit just through these 2 little procedures.  You&#8217;re not safe and secure, but you are a lot better off than you were 2 days ago.</p>
]]></content:encoded>
			<wfw:commentRss>http://HostEntrepreneur.com/2009/08/19/making-ssh-password-less/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing your SSH port</title>
		<link>http://HostEntrepreneur.com/2009/08/18/changing-your-ssh-port/</link>
		<comments>http://HostEntrepreneur.com/2009/08/18/changing-your-ssh-port/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 05:01:24 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://HostEntrepreneur.com/?p=58</guid>
		<description><![CDATA[If you have a dedicated server or VPS, you can (AND SHOULD) change the port that SSH listens to&#8230; Taking this step alone will drastically cut down the number or attempted break ins on your server. And the best part&#8230; it&#8217;s really easy to do.  Login into your server via ssh &#8212; don&#8217;t close this [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a dedicated server or VPS, you can (AND SHOULD) change the port that SSH listens to&#8230; Taking this step alone will drastically cut down the number or attempted break ins on your server. And the best part&#8230; it&#8217;s really easy to do. </p>
<ol>
<li>Login into your server via ssh &#8212; don&#8217;t close this session until I tell you to!!</li>
<li>cd /etc/ssh</li>
<li>cp sshd_config sshd_config.orig</li>
<li>vi (or vim, pico, etc. &#8211; whatever editor you prefer)  sshd_config</li>
<li>find the line that says Port 22</li>
<li>Remove the # at the begining of the line if there is one.</li>
<li>Change the 22 to some other number &#8211; do NOT use anything less than 1024</li>
<li>Save &amp; Close the file</li>
<li>Restart sshd &#8211; usually with &#8220;service sshd restart&#8221;  or &#8220;/etc/init.d/sshd restart&#8221;</li>
<li>Start ANOTHER session this time connecting to the new port &#8211; if prompted to accept the key, do so.</li>
<li>Provided you get logged in, you&#8217;re ok to drop the first connection. If not you need to restore the sshd_config.orig back to sshd_config and restart the ssh server again (step 9).</li>
<li>Save your new port settings in your client.</li>
</ol>
<p>One note &#8230; if you ssh, scp or rsync from another machine you will need to slightly modify the command lines for the new port.<br />
ssh -p #### &#8230; (rest of command) &#8230;<br />
scp -P ####  &#8230; (rest of command) &#8230;<br />
rsync -e &#8216;ssh -p ####&#8217; &#8230; (rest of command) &#8230;</p>
<p>Stay tuned &#8230; tomorrow we&#8217;re going to enhance ssh security a little more&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://HostEntrepreneur.com/2009/08/18/changing-your-ssh-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


<!-- W3 Total Cache: Minify debug info:
Engine:             disk
Group:              default
-->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk (enhanced)
Key:                tag/security/feed/_default_.html
Caching:            disabled
Reject reason:      user agent is rejected
Status:             not cached
Creation Time:      0.662s
Header info:
X-Powered-By:       W3 Total Cache/0.8.5.2
X-Pingback:         http://HostEntrepreneur.com/xmlrpc.php
Last-Modified:      Wed, 17 Feb 2010 14:00:50 GMT
ETag:               "9cb61d19468e71fa6b44639d2391284b"
Content-Type:       text/xml; charset=UTF-8
-->