SSH keys

Ian MacDonald ian at macware.net
Mon Oct 9 10:00:38 BST 2000


On Mon, Oct 09, 2000 at 02:19:50AM +0000, Tony Finch wrote:
> Neil Ford <neil at ourshack.com> wrote:
> >
> >Anyone any bright ideas? I have it working on another box but it's key were
> >generated automatically. I've tried the manual pages but they seem to indicate
> >it all shold just work.
> 
> If you don't have any host key files in /etc/ssh they should be
> generated at boot time by /etc/rc.network if you have sshd_enable=YES
> in rc.conf. You can regenerate the keys by running the ssh-keygen
> commands that you can find in /etc/rc.network.
> 
> Tony.

It should just work but under 4.1 it doesn't. Have a look in /etc/ssh and you most likely will have an sshd_config that is not the one created by the openssh install. Move the one in /etc/ssh out of the way and sym link it to the one in /usr/local/etc.

Ian.




More information about the Ukfreebsd mailing list