Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 10:52:42 -0400 (EDT)
From:      Greg Hormann <ghormann@ns.kconline.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: can not start sshd (fwd)
Message-ID:  <Pine.BSF.4.05.10108191049280.11699-100000@hormann.tzo.cc>
In-Reply-To: <Pine.BSF.4.05.10108191048030.11616-100000@hormann.tzo.cc>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <duncan@apdata.com.au>
> To: dannyman <dannyman@toldme.com>
> 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 <dannyman@toldme.com>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10108191049280.11699-100000>