Re: secure ftp

From: Jan-Frode Myklebust (janfrode@PARALLAB.UIB.NO)
Date: Mon Dec 23 2002 - 15:50:47 EST


On Mon, Dec 23, 2002 at 02:25:43PM -0600, Naylor, Jim wrote:
> Is there a good reference for setting up openssh. I am struggling trying to
> get this to work. When I try to start the sshd I get the following error:
>
> Root:schnuc> ./sshd
> Could not load host key: /usr/local/etc/ssh_host_key
> Could not load host key: /usr/local/etc/ssh_host_rsa_key
> Could not load host key: /usr/local/etc/ssh_host_dsa_key

Generate them with:

        ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
        ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
        ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N ""

Where $(DESTDIR)$(sysconfdir) is /usr/local/etc

This is done automatically if you build openssh yourself instead of
using precompiled binaries.

  -jf



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:25 EDT