Kurt - I just signed up this week to the mailing list, so I wasn't around to respond last week.
The problem you are having is due to the new implementation of SSHD for woody. What you need to do is modify the /etc/ssh/sshd_config file to include the dsa key... to do this the following needs to be done to sshd_config Where you have the line :- HostKey /etc/ssh/ssh_host_key Add after it the following two lines :- HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key This will fix the problem when you restart sshd. The update script does not modify the sshd_config file for a variety of good reasons, and I cannot remember if it even includes the new config file or not. The latest implementation uses one keyfile for both protocols, but at the moment as far as I know, the latest version is yet to hit even unstable in Debian. (Good choice in my opinion... let's see how it works before adding extra hassles). Regards, Cassandra On Mon, 3 Dec 2001, Kurt Lieber wrote: > I sent this last Friday, but didn't receive any replies. Since then, I > haven't had any luck resolving the issue, so I'm trying again. > > If anyone has any ideas on how I can get SSH2 to start working again, I'd > appreciate it. > > --kurt > > > ---------- Reposted Message ---------- > > After a recent apt-get upgrade on a woody box, I am unable to use version 2 > of ssh. (v1 and 1.5 seem to work fine) > > When starting sshd, I get the following error message: > > "Disabling protocol version 2. Could not load host key" > > Googling suggests that I need to recreate ssh_host_*_key, so, I did: > > ssh-keygen -t dsa and > ssh-keygen -t rsa > > making sure that both of the resulting key pairs now reside in: > > /etc/ssh/ssh_host_<rsa/dsa>_key > > and ensured that the permission are correct. (all files are root r/w. .pub > files are world readable.) > > However, i still get this problem. I've tried explicitly entering the path > ot the keys in the sshd_config file: > > HostKey /etc/ssh/ssh_host_rsa_key (and the corresponding entry for dsa) > > but that doesn't help, either. My daemon.log and syslog don't show any > pertinent entries. Starting /usr/sbin/sshd -d -d results in the following: > > debug1: Seeding random number generator > debug1: sshd version OpenSSH_2.9p2 > debug1: private host key: #0 type 0 RSA1 > Disabling protocol version 2. Could not load host key > debug1: Bind to port 22 on 0.0.0.0. > Server listening on 0.0.0.0 port 22. > Generating 768 bit RSA key. > RSA key generation complete. > > I'm not terribly familiar with the inner workings of ssh, so I'm assuming I'm > doing something obviously wrong. Can anyone help? > > --kurt > > ------------------------------------------------------- > > >