Hi, Just upgraded to the new OpenSSH 2.9 and encountered what I believe is a problem loading the SSH2 part. I get this when reloading the SSH daemon: Starting SSH daemonDisabling protocol version 2. Could not load host key I assume that is because under /etc/ssh/ I do not have ssh_host_key2 key, if this is the case, how do I generate one? Thanks, Matt -- "The only thing complex about Linux are the users themselves."
depending on where you installed openSSH, but you have to run ssh-keygen2 and then you will have created the key. You will want to be root to do this since you want this to be the systemwide key. Mine is located in /usr/local/bin cheers, michael On Fri, 8 Jun 2001, StarTux wrote:
Hi,
Just upgraded to the new OpenSSH 2.9 and encountered what I believe is a problem loading the SSH2 part.
I get this when reloading the SSH daemon:
Starting SSH daemonDisabling protocol version 2. Could not load host key
I assume that is because under /etc/ssh/ I do not have ssh_host_key2 key, if this is the case, how do I generate one?
Thanks,
Matt
-- "The only thing complex about Linux are the users themselves."
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
Hello Michael, Does not seem to exist on my system...Just installed the update via Yast, wonder if its been merged into ssh-keygen? Actually I think it has...Damn new stuff :-). Matt -- "The only thing complex about Linux are the users themselves." On Fri, 8 Jun 2001, Michael Chletsos wrote:
depending on where you installed openSSH, but you have to run ssh-keygen2 and then you will have created the key. You will want to be root to do this since you want this to be the systemwide key.
Mine is located in /usr/local/bin
cheers, michael
On Fri, 8 Jun 2001, StarTux wrote:
Hi,
Just upgraded to the new OpenSSH 2.9 and encountered what I believe is a problem loading the SSH2 part.
I get this when reloading the SSH daemon:
Starting SSH daemonDisabling protocol version 2. Could not load host key
I assume that is because under /etc/ssh/ I do not have ssh_host_key2 key, if this is the case, how do I generate one?
Thanks,
Matt
-- "The only thing complex about Linux are the users themselves."
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
[ Quoting rearranged for readability -- could you please get used to quote relevant parts only and answer below citations? Everything else wastes other people's time and resources. ] On Fri, Jun 08, 2001 at 15:18 -0700, StarTux wrote:
On Fri, 8 Jun 2001, Michael Chletsos wrote:
On Fri, 8 Jun 2001, StarTux wrote:
Just upgraded to the new OpenSSH 2.9 and encountered what I believe is a problem loading the SSH2 part.
I get this when reloading the SSH daemon:
Starting SSH daemonDisabling protocol version 2. Could not load host key
depending on where you installed openSSH, but you have to run ssh-keygen2 and then you will have created the key. [ ... ]
Does not seem to exist on my system...Just installed the update via Yast, wonder if its been merged into ssh-keygen? Actually I think it has...Damn new stuff :-).
Well, you could do something silly and look at the accompanying doc (i.e. RTFM). The problem with it would be that you had to do it yourself and would get an immediate anser instead of waiting for somebody to tell you ... Here's what an older OpenSSH implementation says, so the exact same information should be available to you in the newer version, too. $ ssh -V SSH Version OpenSSH_2.3.0 green@FreeBSD.org 20010321, protocol versions 1.5/2.0. Compiled with SSL (0x0090600f). $ man -k keygen dnskeygen(1) - generate public, private, and shared secret keys for DNS Security ssh-keygen(1) - authentication key generation $ man ssh-keygen [ ... ] DESCRIPTION ssh-keygen generates and manages authentication keys for ssh(1). ssh- keygen defaults to generating an RSA key for use by protocols 1.3 and 1.5; specifying the -d flag will create a DSA key instead for use by pro- tocol 2.0. [ ... ] When talking about SuSE or Linux in general and especially about RPMs you can do something along the lines of $ man rpm $ PACKAGE=$( rpm -q -f $( which ssh ) ) $ rpm -qd $PACKAGE $ rpm -ql $PACKAGE plus you could use one of the thousand graphical frontends for RPM if you're not comfortable at a prompt. The above commands simply - assume that you don't know the package name, but you remember one of the commands coming with it (of course *you* might even know the name of the package you recently installed) - ask for a list of doc files the package had in it -- not for fun but for finding interesting manpages and text files - ask for a list of _all_ files inside the package to see which commands look like preparation / administration / etc stuff virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.
Hello Matt, Saturday, June 09, 2001, 1:59:59 AM, you wrote: [skip] S> Starting SSH daemonDisabling protocol version 2. Could not load host key [skip] check your /etc/ssh/sshd_config for line: HostKey /etc/ssh/ssh_host_dsa_key and make shure that it's not commented probably that's the reason... ;-) -- Best regards, Dennis
participants (4)
-
Dennis L. Zavjalov
-
Gerhard Sittig
-
Michael Chletsos
-
StarTux