<?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>Computer Support &#187; generate</title>
	<atom:link href="http://www.xiitec.com/blog/tag/generate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +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>Generating New Host Keys</title>
		<link>http://www.xiitec.com/blog/2008/02/04/generating-new-host-keys/</link>
		<comments>http://www.xiitec.com/blog/2008/02/04/generating-new-host-keys/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 23:43:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Remote access]]></category>
		<category><![CDATA[generate]]></category>
		<category><![CDATA[host keys]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=98</guid>
		<description><![CDATA[You looked in /etc/ssh and didn&#8217;t see any key files: your Linux distribution did not generate host keys when you installed OpenSSH. Or you just want to create new host keys yourself.

Use ssh-keygen to create a new key pair. This must be done as root, and you have to specify the name of the new [...]]]></description>
			<content:encoded><![CDATA[<p>You looked in <code>/etc/ssh</code> and didn&#8217;t see any key files: your Linux distribution did not generate host keys when you installed OpenSSH. Or you just want to create new host keys yourself.</p>
<p><span id="more-98"></span></p>
<p>Use <code>ssh-keygen</code> to create a new key pair. This must be done as root, and you have to specify the name of the new key pair. You only need one key pair. Always specify a passphrase:</p>
<blockquote><p># ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key<br />
Generating public/private rsa key pair.<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.<br />
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.<br />
The key fingerprint is:<br />
6c:24:75:54:d3:21:17:c9:11:db:41:dd:95:3f:d0:ac root@windbag</p></blockquote>
<p>This example uses the default key names, but you can call the keys anything you like. If you use different names, be sure to enter them in <code>/etc/ssh/sshd_config</code>:</p>
<blockquote><p> # HostKeys for protocol version 2<br />
HostKey /etc/ssh/ssh_host_rsa_key</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/04/generating-new-host-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

