Mailinglist Archive: opensuse-security (408 mails)

< Previous Next >
Re: [suse-security] ssh error
  • From: dproc@xxxxxxx
  • Date: Mon, 1 Apr 2002 14:17:59 -0500
  • Message-id: <20020401141759.A2699@xxxxxxxxxxxxxxx>
On Wed, 27 Mar 2002, Alexander Thoma wrote:

> Am Die, 2002-03-26 um 23.49 schrieb Robert Szentmihalyi:
> > What exactly causes the error message "Could not load host key"?
> > I guess I will have to look at the source code tomorrow...

> look in the sshd_config, you need these lines
>
> # HostKeys for protocol version 2
> HostKey /etc/ssh/ssh_host_rsa_key
> HostKey /etc/ssh/ssh_host_dsa_key

Robert - did this work for you? I upgraded SuSE 7.3 with their
2.9.9p2 rpm and also have these lines in here -- it is working fine.

I made one change

9c9,10
< Protocol 1,2
---
> #Protocol 1,2
> Protocol 2

In general, I suggest using your favorite compare utility to compare
sshd_config and sshd_config.rpmnew and make a judgement on the value
of the rpm package defaults.

Below is a typical protocol 2 log from putty to my SuSE sshd.

Best regards,, dproc

C:\WINNT>pscp -v david1@xxxxxxxxxxxxx:/var/tmp/mins0327.pdf \data\
Looking up host "192.168.1.201"
Connecting to 192.168.1.201 port 22
Server version: SSH-2.0-OpenSSH_2.9.9p2
We claim version: SSH-2.0-PuTTY-Release-0.52
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-dss 1024 6e:16:8e:fd:c4:ae:0e:25:af:10:b8:02:c5:a2:e5:d8
Using username "david1".
david1@xxxxxxxxxxxxx's password:
Sent password
Access granted
Opened channel for session
Started a shell/command
Connected to 192.168.1.201


< Previous Next >
Follow Ups