installing ssh after freebsd has been installed?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Wed Sep 6 11:41:18 PDT 2006
g wrote:
> how do is install ssh once i've installed freebsd 6.1?
>
> i used sysinstall. check ssh in the networking section. ok'ed my and
> exited my way back to the system prompt.
>
> as root i typed /usr/sbin/sshd
>
> i get from the system:
>
> 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.
>
> do i need to reinstall the os, 6.1, in-order for it to setup ssh and
> create those files, ssh_host_ ...?
>
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
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060906/060154af/signature.pgp
More information about the freebsd-questions
mailing list