On Monday, 1. April 2002 21:17, dproc@dol.net wrote:
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.
Yes, it works just fine. I realized what the problem was when I looked at the sshd_config on another SuSE 7.3 system. I just wonder how these two lines could get lost during the update...
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@192.168.1.201:/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@192.168.1.201's password: Sent password Access granted Opened channel for session Started a shell/command Connected to 192.168.1.201
-- Where do you want to be tomorrow? Entracom. Building Linux systems. http://www.entracom.de