How to get /etc/ssh back

David Kirchner dpk at dpk.net
Tue Aug 30 21:10:14 GMT 2005


On 8/30/05, Sean P. Malone <smalone at udallas.edu> wrote:
> The system does ask for entropy upon the next reboot but the generation
> of the keys and startup of sshd fail since there is no /etc/ssh.
> 
> If the install program doesn't create /etc/ssh, what does and how do I
> get it back?
> 
> Thanks!
> 
> Sean

Judging by the Makefile in /usr/src/etc/Makefile, I'd say that all you
may have to do is mkdir /etc/ssh, and copy
/usr/src/crypto/openssh/{ssh_config,sshd_config,moduli} to /etc/ssh .
Then reboot and that entropy thing should work properly. (Alternately,
I think you could just run /etc/rc.d/sshd start ).


More information about the freebsd-questions mailing list