Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2006 19:40:23 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        g <g.one@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installing ssh after freebsd has been installed?
Message-ID:  <44FF1617.20303@infracaninophile.co.uk>
In-Reply-To: <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com>
References:  <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig960ECA96789AE8D4FDA0A27B
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

g wrote:
> how do is install ssh once i've installed freebsd 6.1?
>=20
> i used sysinstall.  check ssh in the networking section.  ok'ed my and
> exited my way back to the system prompt.
>=20
> as root i typed /usr/sbin/sshd
>=20
> i get from the system:
>=20
> Could not load host key: /etc/ssh/ssh_host/dsa_key
> Disabling protocol version 2. Could not load host key
> sshd: no hostkeys available -- exiting.
>=20
> do i need to reinstall the os, 6.1, in-order for it to setup ssh and
> create those files, ssh_host_ ...?
>=20

The system startup script for sshd will create any necessary key files if=

they are missing.  Try the following:

   # killall sshd
   # /etc/rc.d/sshd start

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enig960ECA96789AE8D4FDA0A27B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/xYo8Mjk52CukIwRCOjxAJ9zIFPtT90v9+yOWV5Ui5htpeUK+QCeM729
wGvfkwqZVsyB+CNMyngHgkA=
=C62T
-----END PGP SIGNATURE-----

--------------enig960ECA96789AE8D4FDA0A27B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FF1617.20303>