<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Dsa on Details...</title>
    <link>https://www.deepreflect.net/tags/dsa/</link>
    <description>Recent content in Dsa on Details...</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2003 - 2026 Leonardo Rizzi</copyright>
    <lastBuildDate>Tue, 30 Jun 2026 03:28:29 +0200</lastBuildDate>
    <atom:link href="https://www.deepreflect.net/tags/dsa/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OpenSSH - Generate server key</title>
      <link>https://www.deepreflect.net/2009/08/11/openssh-generate-server-key/</link>
      <pubDate>Tue, 11 Aug 2009 22:08:55 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=680</guid> 
      <description>&lt;p&gt;OpenSSH require different keys depending if you use SSH1 or SSH2 protocol. All keys are generated by &amp;ldquo;ssh-keygen&amp;rdquo; commad, that one should be available on your system with the ssh package. Default key lengths are also appropriate (2048 bits for rsa and 1024 bits for dsa)
For SSH1 protocol, you need a rsa1 key generated has follow:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# ssh-keygen -q -f /etc/ssh/ssh_host_key -N &#39;&#39; -t rsa1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For SSH2 protocol, you need two keys, one rsa key and one dsa key generated has follow:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>OpenSSH require different keys depending if you use SSH1 or SSH2 protocol. All keys are generated by &ldquo;ssh-keygen&rdquo; commad, that one should be available on your system with the ssh package. Default key lengths are also appropriate (2048 bits for rsa and 1024 bits for dsa)
For SSH1 protocol, you need a rsa1 key generated has follow:</p>
<p><code># ssh-keygen -q -f /etc/ssh/ssh_host_key -N '' -t rsa1</code></p>
<p>For SSH2 protocol, you need two keys, one rsa key and one dsa key generated has follow:</p>
<p><code># ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa</code>
<code># ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa</code></p>
]]></content:encoded>
    </item>
  </channel>
</rss>
