Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2006 14:41:23 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        g <g.one@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installing ssh after freebsd has been installed?
Message-ID:  <20060906144123.5c6cad3a.wmoran@collaborativefusion.com>
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
In response to g <g.one@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060906144123.5c6cad3a.wmoran>