Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2000 13:49:35 -0800
From:      Jake Burkholder <jburkhol@home.com>
To:        bwoods2@uswest.net
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: sshd in current....no config files in /etc/ssh 
Message-ID:  <20000307214935.7F452BABB@io.yi.org>
In-Reply-To: Message from William Woods <wwoods@cybcon.com>  of "Tue, 07 Mar 2000 12:00:19 PST." <XFMail.000307120019.wwoods@cybcon.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Thanks....I used that "i" option and it worked...well, almost. I have the files
> I need in /etc/ssh but when I start sshd I get this now.....
> 
> error: Could not load host key: /etc/ssh/ssh_host_key: No such file or
> directory 

If you want to track current you must use mergemaster.
This is probably because you haven't updated rc.network...

        case ${sshd_enable} in
        [Yy][Ee][Ss])
                if [ ! -f /etc/ssh/ssh_host_key ]; then
                        echo ' creating ssh host key';
                        /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
                fi
                ;;
        esac

My host key was generated automatically when I rebooted and I was
quite impressed.

Just type 'mergemaster' as root.  It's interactive and doesn't overwrite
anything automatically.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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