[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AGAINdebian-newbe problems w. ssh



Oliver wrote:
> >> I got the message ...: sshd Could not load host key: /etc/ssh/ssh_host_key
> >> Disabling protocol version1
> >>
> >> Could anybody point me how to make a protocol 1 key ?
> >
> >'ssh-keygen -t rsa1'

The error message sounds to me like either an 'rsa' or a 'dsa' key is
in the file instead of an 'rsa1' key.

If it has only numbers in the key it is 'rsa1'.  If it contains both
numbers and letters it is 'rsa'.  If you posted the contents of
/etc/ssh/ssh_host_key.pub we could tell for sure.  If it is the wrong
key type then you will have to remake it as the correct type using the
command that Karsten provided previously.  Here is a recap.

  ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ''

Bob

Attachment: pgpApY4ZnAvdS.pgp
Description: PGP signature


Reply to: