On Sat 14 Apr 01, 11:45 AM, Henry House said: 
> On Sat, Apr 14, 2001 at 11:38:35AM -0700, Peter Jay Salzman wrote:
> > i'm getting this error when i start the daemon:
> > 
> >    # /etc/init.d/ssh start
> >    Starting OpenBSD Secure Shell server: sshd
> >    Disabling protocol version 2. Could not load host key.
> > 
> > does anyone know how to fix this?   do i have to generate a new host key
> > somehow?   how do i do that?
> 
> Protocol versions 1 and 2 use different host keys. You need to run ssh-keygen with 
>-t rsa or -t dsa for a protocol 2 key or ssh-keygen -t rsa1 for a protocol 1 key. The 
>result goes in /etc/ssh_host_dsa_key.

do you recommend rsa or dsa?

also, it seem to ask me for a file to save to and a passphrase:

  # ssh-keygen -t dsa
  Generating public/private dsa key pair.
  Enter file in which to save the key (/root/.ssh/id_dsa): /etc/ssh_host_dsa_key
  Enter passphrase (empty for no passphrase):

at this point i control d'ed out of it; doesn't feel right.  why would it ask
me what file to write to and why would it ask me for a passphrase?

before i go on, i just want to make sure -- is this what i want?

thanks, henry!

pete

-- 
"Coffee... I've conquered the Borg on coffee!"               [EMAIL PROTECTED]
       -- Kathryn Janeway on the virtues of coffee           www.dirac.org/p

PGP signature

Reply via email to