[blfs-dev] OpenSSH-6.2p1

Bruce Dubbs bruce.dubbs at gmail.com
Wed May 22 15:08:39 PDT 2013


Baho Utot wrote:
> In the section for openssh  the following should be added to the
> instructions for running sshd
>
> ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
> ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
> ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa
>
> This generates the keys for sshd and it will then not throw an
> error/warning message when sshd is started from the start up scripts.

According to my log, these are done automatically with make install:

Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
...

Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
...

Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.

   -- Bruce



More information about the blfs-dev mailing list