From owner-freebsd-questions Sun Aug 19 7:36:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hormann.tzo.cc (cvg-29-17-96.cinci.rr.com [24.29.17.96]) by hub.freebsd.org (Postfix) with ESMTP id ABE8337B40A for ; Sun, 19 Aug 2001 07:36:32 -0700 (PDT) (envelope-from ghormann@ns.kconline.com) Received: from localhost (ghormann@localhost) by hormann.tzo.cc (8.11.1/8.11.1) with ESMTP id f7JEqhv11705 for ; Sun, 19 Aug 2001 10:52:43 -0400 (EDT) (envelope-from ghormann@ns.kconline.com) X-Authentication-Warning: hormann.tzo.cc: ghormann owned process doing -bs Date: Sun, 19 Aug 2001 10:52:42 -0400 (EDT) From: Greg Hormann X-Sender: ghormann@hormann.tzo.cc To: freebsd-questions@freebsd.org Subject: Re: can not start sshd (fwd) In-Reply-To: Message-ID: 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 I have the same problem with Protocol 2 hormann# /usr/sbin/sshd error: Could not load DSA host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2 But I just regend the key file using ssh-keygen -d . I did check and the file does now exist, but I still get the same error message. hormann# ll /etc/ssh/ssh_host_dsa_key -rw------- 1 root wheel 736 Aug 19 10:44 /etc/ssh/ssh_host_dsa_key I must be missing something simple here. Greg. On Sun, 19 Aug 2001, Greg Hormann wrote: > > > ---------- Forwarded message ---------- > Date: Fri, 17 Aug 2001 08:41:21 +0930 (CST) > From: Duncan Sayers > To: dannyman > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: can not start sshd > > On Thu, 16 Aug 2001, dannyman wrote: > > > Date: Thu, 16 Aug 2001 15:13:41 -0700 > > From: dannyman > > To: freebsd-questions@freebsd.org > > Subject: can not start sshd > > > > Any ideas? > > > > 0-15:11 root@dell ~# sshd -d > > debug: sshd version OpenSSH_2.2.0 > > error: Could not load DSA host key: /etc/ssh/ssh_host_dsa_key > > Disabling protocol version 2 > > debug: Bind to port 22 on 0.0.0.0. > > Server listening on 0.0.0.0 port 22. > > Generating 768 bit RSA key. > > RSA key generation complete. > > > > Go to another term: > > > > 255-15:11 dannyman@dell ~> ssh dell > > ssh_exchange_identification: Connection closed by remote host > > > > Augh! Back at the other term: > > > > debug: Server will not fork when running in debugging mode. > > 0-15:12 root@dell ~# > > > > Thanks, > > -danny > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > ssh-keygen -d to create the dsa key - save it as the key complained about > above. > > -- > Duncan Sayers > ---------------------------------------------- > Applied Data Control http://www.apdata.com.au > Ph: (08) 8338 2511 Mob: 0402 321 526 > ---------------------------------------------- > "A child of five would understand this. Send > someone to fetch a child of five" > ~ Groucho Marx > ---------------------------------------------- > > > 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