Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2006 15:00:49 -0400
From:      g <g.one@mac.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: installing ssh after freebsd has been installed?
Message-ID:  <1ABF35EC-ABB8-4388-A67A-68614282174D@mac.com>
In-Reply-To: <20060906144123.5c6cad3a.wmoran@collaborativefusion.com>
References:  <1DCB2E8B-7372-41F2-ADAF-9BC8697227B3@mac.com> <20060906144123.5c6cad3a.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Bill and Matthew, your suggestions did the trick.

g.


On Sep 6, 2006, at 2:41 PM, Bill Moran wrote:

> 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.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe@freebsd.org"

g.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ABF35EC-ABB8-4388-A67A-68614282174D>