<?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>njcrawford.com &#187; Uncategorized</title>
	<atom:link href="http://www.njcrawford.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.njcrawford.com</link>
	<description>Freeware and other stuff</description>
	<lastBuildDate>Thu, 01 Sep 2011 15:15:59 +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>Delayed SSH login on CentOS 6</title>
		<link>http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/</link>
		<comments>http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 15:01:59 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux ssh slow]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=228</guid>
		<description><![CDATA[I&#8217;ve setup several CentOS 6 virtual machines recently and they all have the same delayed SSH login problem. I&#8217;ve found a solution to this problem and I&#8217;m documenting it here so I can find it next time! I originally found &#8230; <a href="http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve setup several CentOS 6 virtual machines recently and they all have the same delayed SSH login problem. I&#8217;ve found a solution to this problem and I&#8217;m documenting it here so I can find it next time!</p>
<p>I originally found this fix at http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/ and it&#8217;s not specific to CentOS 6, but I&#8217;ve only observed this delay problem on CentOS 6.</p>
<p>Now, on to the problem. SSH logins to these CentOS 6 servers were delayed by about 30 seconds. (I never timed it exactly, but it was long enough to be very frustrating when you&#8217;re trying to get work done) When logging in using ssh -vvv user@hostname the debug output shows the delay happens at these lines:<br />
<code><br />
debug3: authmethod_is_enabled gssapi-with-mic<br />
debug1: Next authentication method: gssapi-with-mic<br />
debug1: An invalid name was supplied<br />
Cannot determine realm for numeric host address</code><br />
<code><br />
debug1: An invalid name was supplied<br />
Cannot determine realm for numeric host address</code><br />
<code><br />
debug1: An invalid name was supplied<br />
</code></p>
<p>The solution appears to be disabling the GSS API authentication method on the SSH server.</p>
<p>To disable GSS API, first open/etc/ssh/sshd_config in your favorite editor<br />
<code>vim /etc/ssh/sshd_config</code><br />
Then find the line that says<br />
<code>GSSAPIAuthentication yes</code><br />
Change it to<br />
<code>GSSAPIAuthentication no</code><br />
and save the file. Finally, restart the sshd service.<br />
<code>service sshd restart</code></p>
<p>SSH logins should now be quick as usual!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2011/09/01/delayed-ssh-login-on-centos-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Back on my normal server</title>
		<link>http://www.njcrawford.com/2009/06/19/back-on-my-normal-server/</link>
		<comments>http://www.njcrawford.com/2009/06/19/back-on-my-normal-server/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 00:58:23 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=62</guid>
		<description><![CDATA[I&#8217;m back on my normal server again. I had complete data loss and my backups weren&#8217;t as thorough as they should have been so I had to rebuild my configuration. Moral of this story: if in doubt, back it up.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m back on my normal server again. I had complete data loss and my backups weren&#8217;t as thorough as they should have been so I had to rebuild my configuration.</p>
<p>Moral of this story: if in doubt, back it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2009/06/19/back-on-my-normal-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovering from scratch</title>
		<link>http://www.njcrawford.com/2009/06/09/recovering-from-scratch/</link>
		<comments>http://www.njcrawford.com/2009/06/09/recovering-from-scratch/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 02:50:28 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.njcrawford.com/?p=56</guid>
		<description><![CDATA[My web server was one of the 4,000 or so servers affected by the Vaserv HyperVM hack that started Sunday (June 7th), and my site has been down since then. I had a complete backup of all my web content &#8230; <a href="http://www.njcrawford.com/2009/06/09/recovering-from-scratch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My web server was one of the 4,000 or so servers affected by the Vaserv HyperVM hack that started Sunday (June 7th), and my site has been down since then. I had a complete backup of all my web content that was made a couple hours before the outage started, so I&#8217;ve been able to restore pretty much everything. Many others were not so lucky&#8230; just another reason to make sure you have a backup system in place.</p>
<p>My site may be slow until my regular server comes back online, because the backup host I&#8217;m using isn&#8217;t very fast.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2009/06/09/recovering-from-scratch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new look for njcrawford.com</title>
		<link>http://www.njcrawford.com/2009/05/20/a-new-look-for-njcrawfordcom/</link>
		<comments>http://www.njcrawford.com/2009/05/20/a-new-look-for-njcrawfordcom/#comments</comments>
		<pubDate>Thu, 21 May 2009 02:59:49 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://medium/website-trunk/?p=30</guid>
		<description><![CDATA[Now sporting WordPress for the home page. Woohoo! Next step: make the rest of the site look nice too.]]></description>
			<content:encoded><![CDATA[<p>Now sporting WordPress for the home page. Woohoo!</p>
<p>Next step: make the rest of the site look nice too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.njcrawford.com/2009/05/20/a-new-look-for-njcrawfordcom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

