From owner-freebsd-questions Fri Dec 28 15:44:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id CA80837B417 for ; Fri, 28 Dec 2001 15:44:28 -0800 (PST) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.11.6/8.11.6) with ESMTP id fBSNgKY08437; Fri, 28 Dec 2001 20:42:20 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 28 Dec 2001 20:42:20 -0300 (ART) From: Fernando Gleiser To: Johann Sharizan Cc: Subject: Re: OpenSSH -- Make up your mind! In-Reply-To: <20011228163121.4df70a62.johann@broadpark.no> Message-ID: <20011228203716.N2673-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Dec 2001, Johann Sharizan wrote: > Hi. > > I recently installed the newest port of OpenSSH for security reasons, > after having manually deleted all traces of the old one. > > After the installation the new config files could be found in > /usr/local/etc. SSHD, however, complained it couldn't find sshd_config in > /etc/ssh. So I went ahead and moved them all from /usr/local/etc to > /etc/ssh. But now, SSHD brings me this output, requiring a non-existent > file: > > Could not load host key: /etc/ssh/ssh_host_rsa_key Thats because you didn't tell sshd to get the key and config file from the new location and sshd tries to get them from the default location. Read sshd(8) and look at the -f and -h flags. The answer to your problem is in the man page. Fer > > OpenSSH did generate all the nessecary keys and config files upon installation; > > (16:30) [johann@ninja] [/etc/ssh] > ls > ssh_config ssh_host_dsa_key.pub ssh_host_key.pub > ssh_host_dsa_key ssh_host_key sshd_config > > So what does SSHD need an RSA key when it already has a DSA one? > > Again, I'm utterly confused. > > Regards, > Johann > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message