<?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>dennis henry &#187; OpenSSH</title>
	<atom:link href="http://dennishenry.net/category/linux/openssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://dennishenry.net</link>
	<description>ramblings of an IT professional</description>
	<lastBuildDate>Mon, 26 Sep 2011 16:50:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>OpenSSH won&#8217;t start</title>
		<link>http://dennishenry.net/2011/06/18/openssh-wont-start/</link>
		<comments>http://dennishenry.net/2011/06/18/openssh-wont-start/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 17:19:56 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[MAKEDEV]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[urandom]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://dennishenry.net/?p=146</guid>
		<description><![CDATA[I ran into an issue with OpenSSH Server would not start after fresh installation of it on a minimal CentOS 5 x86_64 VPS:
[root@vps ~]# /etc/init.d/sshd restart
Stopping sshd:                                             [FAILED]
Generating SSH1 RSA host key:                              [FAILED]
I  [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an issue with OpenSSH Server would not start after fresh installation of it on a minimal CentOS 5 x86_64 VPS:</p>
<pre>[root@vps ~]# /etc/init.d/sshd restart
Stopping sshd:                                             <span style="color:red; font-weight:bold;">[FAILED]</span>
Generating SSH1 RSA host key:                              <span style="color:red; font-weight:bold;">[FAILED]</span></pre>
<p>I delved a little further and discovered that ssh-keygen was failing:</p>
<pre>[root@vps ~]# ssh-keygen
cannot read from /dev/urandom, No such file or directory</pre>
<p>And finally, from there, I generated the urandom file:</p>
<pre>/sbin/MAKEDEV urandom</pre>
<p>Also, to ensure on restarts the urandom file (as well as pty and tty) are created, I added the following to /etc/rc.d/rc.local:</p>
<pre>/sbin/MAKEDEV pty
/sbin/MAKEDEV tty
/sbin/MAKEDEV urandom</pre>
<p>Hopefully this helps if you run into a similar issue down the line!</p>
]]></content:encoded>
			<wfw:commentRss>http://dennishenry.net/2011/06/18/openssh-wont-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

