From owner-freebsd-questions Fri Dec 28 8:14:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from amsfep12-int.chello.nl (amsfep12-int.chello.nl [213.46.243.17]) by hub.freebsd.org (Postfix) with ESMTP id A76E437B421 for ; Fri, 28 Dec 2001 08:14:12 -0800 (PST) Received: from boss ([213.93.134.174]) by amsfep12-int.chello.nl (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with SMTP id <20011228161411.NPYY18578.amsfep12-int.chello.nl@boss>; Fri, 28 Dec 2001 17:14:11 +0100 From: "Rick Hoppe" To: Cc: "Johann Sharizan" Subject: RE: OpenSSH -- Make up your mind! Date: Fri, 28 Dec 2001 17:14:04 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20011228163121.4df70a62.johann@broadpark.no> Importance: Normal 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 > 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 > > 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 A repost of your question from yesterday?? Again: did you check which sshd version is running by opening a telnet connection to port 22 ? telnet 127.0.0.1 22 should do the trick If no sshd is running, try "which sshd" so you'll see which sshd daemon you're trying to start. Probably you're still trying to start /usr/sbin/sshd instead of the new one at /usr/local/sbin/sshd Also make sure that the following line is in /etc/rc.conf and reboot after you modified it: sshd_program="/usr/local/sbin/sshd" Please do not repost your question each day. Try the tips you may receive, and give us some new feedback if it still does'nt work. Regards, Rick Hoppe Network- and System Specialist (Jr.) Xtraxion Internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message