<?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>phirebird &#187; sshd</title>
	<atom:link href="http://www.phirebird.net/tag/sshd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT Site</description>
	<lastBuildDate>Sat, 24 Apr 2010 15:27:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling SSH under FreeBSD</title>
		<link>http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/</link>
		<comments>http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/#comments</comments>
		<pubDate>Sat, 16 May 2009 08:11:41 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=14</guid>
		<description><![CDATA[Anyone that&#8217;s diddled around with SSH under FreeBSD will be all too familiar with this error message when trying to start the SSH daemon directly:
fbsd1# /usr/sbin/sshd
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available &#8212; exiting.
fbsd1#
To keep it happy, you could generate /etc/ssh/ssh_host_dsa_key
manually by using ssh_keygen (as [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone that&#8217;s diddled around with SSH under FreeBSD will be all too familiar with this error message when trying to start the SSH daemon directly:</p>
<blockquote><p>fbsd1# /usr/sbin/sshd<br />
Could not load host key: /etc/ssh/ssh_host_dsa_key<br />
Disabling protocol version 2. Could not load host key<br />
sshd: no hostkeys available &#8212; exiting.<br />
fbsd1#</p></blockquote>
<p>To keep it happy, you <em>could</em> generate /etc/ssh/ssh_host_dsa_key<br />
manually by using ssh_keygen (as you used to in previous FreeBSD releases) - but a much more straight forward way of<br />
enabling it now exists. All you have to do is to edit /etc/rc.conf and tag on this line:</p>
<blockquote><p>sshd_enable=&#8221;YES&#8221;</p></blockquote>
<p>Next time the system starts, it&#8217;ll automatically generate any<br />
necessary keys for you and start accepting SSH requests. If you&#8217;re<br />
of the impatient type and want SSH to start right now, use this:</p>
<blockquote><p>killall sshd<br />
/etc/rc.d/sshd start</p></blockquote>
<p>And that&#8217;s it!</p>
<p>&nbsp;</p>
<p>Did you find this hint useful? Are you looking to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful &#8211; have a goosie!</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/1593271514?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51lcrjsVnnL._SL100.jpg" border="0"><br />
Absolute FreeBSD: The Complete Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0672324563?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ZNFMN301L._SL100.jpg" border="0"><br />
FreeBSD unleashed</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0201702452?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51ARDDYDAVL._SL100.jpg" border="0"><br />
Design and Implementation of FreeBSD</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0979034221?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/41ggxOfBxlL._SL100.jpg" border="0"><br />
The Best of FreeBSD Basics</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/05/enabling-ssh-under-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
