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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to