SSH and FreeBSD-11

krad kraduk at gmail.com
Fri Mar 11 07:54:40 UTC 2016


ITs probably easyist to delete the existing keys in there, then rerun the
rc script. All new keys should be generated then. Alternatively just read
the man page for ssh-keygen and create a dsa keypair.

On 10 March 2016 at 16:16, Carmel <carmel_ny at outlook.com> wrote:

> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list