<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VPS on Much Ado About IT</title><link>https://it.knightnet.org.uk/tags/vps/</link><description>
Recent content about VPS from Much Ado About IT |
Ramblings and rantings from IT Architect &amp; Designer, Julian Knight</description><generator>Hugo | gohugo.io | Theme twenty-sixteen</generator><language>en-gb</language><copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright><lastBuildDate>Mon, 24 Apr 2023 21:27:28 +0000</lastBuildDate><atom:link href="https://it.knightnet.org.uk/tags/vps/feed.xml" rel="self" type="application/rss+xml"/><item><title>Site updated – Faster and better!</title><link>https://it.knightnet.org.uk/2012/06/site-updated-faster-and-better.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2012/06/site-updated-faster-and-better.html</guid><pubDate>Fri, 15 Jun 2012 22:56:54 +0000</pubDate><guid>https://it.knightnet.org.uk/2012/06/site-updated-faster-and-better.html</guid><description><div/><div>&lt;p>The upgrade of this blog from WordPress 3.3 to 3.4 on &lt;!-- raw HTML omitted -->Dreamhost&lt;!-- raw HTML omitted --> didn’t go as smoothly as planned. In fact it failed fairly spectacularly – unable to complete the required database upgrade.&lt;/p>
&lt;p>However, many clouds have silver linings. In this case it meant that I brought forward my plans to ditch the horribly slow hosting provided by &lt;!-- raw HTML omitted -->Dreamhost&lt;!-- raw HTML omitted --> in the USA and switch over to the new VPS provided by &lt;!-- raw HTML omitted -->BHost&lt;!-- raw HTML omitted --> in the UK.&lt;/p>
&lt;p>If you have had the chance to compare the two sites, you’ll know that it now runs a lot faster. It will improve again when I do some tweaking. I can now use a proper opcode cache for PHP, something that Dreamhost wasn’t able to provide.&lt;/p>
&lt;p>I’ll be doing further optimisations now that I have full control, I should be able to do away with a whole load of WordPress plugins.&lt;/p></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/blogging">Blogging</category><category domain="https://it.knightnet.org.uk/categories/development">Development</category><category domain="https://it.knightnet.org.uk/tags/configuration">Configuration</category><category domain="https://it.knightnet.org.uk/tags/vps">VPS</category><category domain="https://it.knightnet.org.uk/tags/wordpress">Wordpress</category></item><item><title>SSH Error: "ssh_exchange_identification: Connection closed by remote host"</title><link>https://it.knightnet.org.uk/2012/05/ssh-error-ssh_exchange_identification.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2012/05/ssh-error-ssh_exchange_identification.html</guid><pubDate>Sat, 05 May 2012 21:20:56 +0000</pubDate><guid>https://it.knightnet.org.uk/2012/05/ssh-error-ssh_exchange_identification.html</guid><description><div>Fixing up an SSH login error after moving to a new ISP. "ssh_exchange_identification: Connection closed by remote host" is caused by the lack of a reverse DNS entry.</div><div>&lt;p>At home, we’ve just switched from a slow (2mbps) ADSL connection to a wonderfully fast 40mbps connection provided by the excellent &lt;!-- raw HTML omitted -->Origin Broadband&lt;!-- raw HTML omitted --> using the South Yorkshire fibre network provided by &lt;!-- raw HTML omitted -->Digital Region&lt;!-- raw HTML omitted -->.&lt;/p>
&lt;p>I did have a small problem though that has taken some searching to resolve so I’ll detail it here in case others find it useful.&lt;/p>
&lt;p>As soon as we switched over, I couldn’t connect to my &lt;!-- raw HTML omitted -->VPS&lt;!-- raw HTML omitted --> over &lt;!-- raw HTML omitted -->SSH&lt;!-- raw HTML omitted -->. I was getting the message:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>It turns out that this is due to the fact that the server contains the following entry in /etc/hosts.deny:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>The OS does a &lt;!-- raw HTML omitted -->Reverse DNS &lt;!-- raw HTML omitted -->Lookup to check for bad domains and this line tells the system to reject connection requests to SSHd that don’t have a reverse DNS address.
So it seems that my new ISP hasn’t (yet?) registered a reverse DNS address whereas my previous ISP (PlusNet) did.&lt;/p>
&lt;p>You can remove that entry but that has a security implication. The better fix is to add a line to /etc/hosts.allow:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>Where 1.2.3.4 should be replaced by the fixed IP address your ISP gives you. Visit WhatsMyIP.com to find out your address. If you don’t have a fixed address, you’ll probably have to do the alternative fix. The “ALL” keyword ensures that your location can access all services on the server.&lt;/p>
&lt;p>I’ve made the change and it works fine. I’ve also raised a ticket to see if I will be getting a reverse DNS entry.&lt;/p>
&lt;p>&lt;!-- raw HTML omitted -->Update 2012-07-13&lt;!-- raw HTML omitted -->: Annoyingly, I’ve had no response to my ticket with Origin Broadband. However, the fix works fine.&lt;/p></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/general">General</category><category domain="https://it.knightnet.org.uk/categories/linux">Linux</category><category domain="https://it.knightnet.org.uk/categories/networking">Networking</category><category domain="https://it.knightnet.org.uk/tags/dns">DNS</category><category domain="https://it.knightnet.org.uk/tags/ssh">SSH</category><category domain="https://it.knightnet.org.uk/tags/vps">VPS</category></item></channel></rss>