SSH and FreeBSD-11

Carmel carmel_ny at outlook.com
Thu Mar 10 16:16:21 UTC 2016


After just installing FreeBSD 11 on a new machine, I have noticed the
following error messages upon boot:

Could not load host key: /etc/ssh/ssh_host_dsa_key
Starting sshd
Could not load host key: /etc/ssh/ssh_host_dsa_key

Those keys do not exist in "/etc/ssh". The directory looks like this:

drwxr-xr-x   2 root  wheel    12B 2016-03-10 10:07:21 EST ./
drwxr-xr-x  25 root  wheel   112B 2016-03-10 10:36:32 EST ../
-rw-r--r--   1 root  wheel   293K 2016-03-08 02:07:32 EST moduli
-rw-r--r--   1 root  wheel   1.7K 2016-03-08 02:07:32 EST ssh_config
-rw-------   1 root  wheel   227B 2016-03-09 13:00:54 EST ssh_host_ecdsa_key
-rw-r--r--   1 root  wheel   188B 2016-03-09 13:00:54 EST ssh_host_ecdsa_key.pub
-rw-------   1 root  wheel   419B 2016-03-09 13:00:54 EST ssh_host_ed25519_key
-rw-r--r--   1 root  wheel   108B 2016-03-09 13:00:54 EST ssh_host_ed25519_key.pub
-rw-------   1 root  wheel   1.6K 2016-03-09 13:00:54 EST ssh_host_rsa_key
-rw-r--r--   1 root  wheel   408B 2016-03-09 13:00:54 EST ssh_host_rsa_key.pub
-rw-r--r--   1 root  wheel   3.7K 2016-03-10 10:23:15 EST sshd_config

Is there something that I have to do? I never had this problem with
earlier versions of FreeBSD.

-- 
Carmel


More information about the freebsd-questions mailing list