Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2016 07:54:37 +0000
From:      krad <kraduk@gmail.com>
To:        Carmel <carmel_ny@outlook.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: SSH and FreeBSD-11
Message-ID:  <CALfReyewsKLUjMG8nnNMk=YHTvFUZWG0oGVNi8_FvBFNCmiQFA@mail.gmail.com>
In-Reply-To: <BLU437-SMTP603D7C238968280489261280B40@phx.gbl>
References:  <BLU437-SMTP603D7C238968280489261280B40@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyewsKLUjMG8nnNMk=YHTvFUZWG0oGVNi8_FvBFNCmiQFA>