installing ssh after freebsd has been installed?
Bill Moran
wmoran at collaborativefusion.com
Wed Sep 6 11:41:26 PDT 2006
In response to g <g.one at mac.com>:
> 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_ ...?
Use the /etc/rc.d/sshd script to start/stop sshd. It will detect the
above condition and take care of it.
Assuming you've set up your config files properly, you could also
reboot the system.
--
Bill Moran
Collaborative Fusion Inc.
More information about the freebsd-questions
mailing list