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

next in thread | previous in thread | raw e-mail | index | archive | help
openssh in freebsd 11 will not generate dsa host key  any more=EF=BC=8CI ha=
ve a pr
about this.
2016=E5=B9=B43=E6=9C=8811=E6=97=A5 3:54 PM=EF=BC=8C"krad" <kraduk@gmail.com=
>=E5=86=99=E9=81=93=EF=BC=9A

> 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"
> >
> _______________________________________________
> 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?CADyrUxPz7TzWApYduxyDn=GeznXqcZ4baRFiEKeCEXVDwN_DJQ>