Hello all.

I noticed that when building OpenSSH using the DESTDIR install, the
"ssh-keygen" program fails to generate the host keys due to non-root
access to the /etc/ssh directory.

The install phase of OpenSSH shows this:

[...]
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
[...]

So if building OpenSSH with the DESTDIR method, the ssh-keygen program
needs to be run as root manually after installing the package:

ssh-keygen -v -A

Regards,

   -- Ryan
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to