did you generate a user or a host key?
check sshd_config to see where sshd expects the host key
and use
        ssh-keygen -t rsa -f /etc/ssh_host_rsa_key
or similar.

-m

On Mon, Oct 08, 2001 at 04:34:26AM -0700, lin s wrote:
> hi,
> 
>    I tried generating the v2 protocol by using 
>     ssh-keygen -t rsa
>    And started sshd again.
>  /etc/rc.d/init.d/sshd start
>      
>    But it still gives me the same error!!!!
>     
> 
> Lin S
> 
> 
> 
> 
> 
> --- Atro Tossavainen <[EMAIL PROTECTED]> wrote:
> > >    how do i generate a version 2 key .
> > >    This is neccessary since i want to use sftp.
> > 
> > Read the ssh-keygen man page.
> > 
> > DESCRIPTION
> >      ssh-keygen generates, manages and converts
> > authentication keys for
> >      ssh(1).  ssh-keygen defaults to generating a
> > RSA1 key for use by SSH pro?
> >      tocol version 1.  specifying the -t option
> > allows you to create a key for
> >      use by SSH protocol version 2.
> > 
> > -- 
> > Atro Tossavainen (Mr.)               / The Institute
> > of Biotechnology at
> > Systems Analyst, Techno-Amish &     / the University
> > of Helsinki, Finland,
> > +358-9-19158939  UNIX Dinosaur     / employs me, but
> > my opinions are my own.
> > < URL : http : / / www . iki . fi / atro .
> > tossavainen / >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to