From owner-ssh@clinet.fi Thu May 17 02:19:29 2001 Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57]) by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id CAA19682 for ; Thu, 17 May 2001 02:19:29 +0300 (EET DST) Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7]) by smtp1.clinet.fi (Postfix) with ESMTP id 5253220046; Thu, 17 May 2001 02:19:22 +0300 (EEST) Received: (from majordom@localhost) by mail.clinet.fi (8.9.3/8.9.3) id BAA11214 for ssh-outgoing; Thu, 17 May 2001 01:58:03 +0300 Received: from fw.hel.fi.ssh.com (fw.hel.fi.ssh.com [193.64.193.124]) by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id BAA11210 for ; Thu, 17 May 2001 01:58:01 +0300 Received: from viikuna.hel.fi.ssh.com (viikuna.hel.fi.ssh.com [10.1.0.46]) by fw.hel.fi.ssh.com (SSH-1.22) with SMTP id BAA27515 for ; Thu, 17 May 2001 01:58:01 +0300 (EEST) Received: (qmail 26635 invoked from network); 16 May 2001 22:58:01 -0000 Received: from unknown (HELO clinet.fi) ([10.1.0.48]) (envelope-sender ) by viikuna.hel.fi.ssh.com (qmail-ldap-1.03) with SMTP for ; 16 May 2001 22:58:01 -0000 Message-ID: <3B0305CD.3C9B703E@clinet.fi> Date: Wed, 16 May 2001 15:57:17 -0700 From: Stephanie Thomas Organization: SSH Communications Security X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: Robert Forkner Cc: ssh@clinet.fi Subject: Re: FATAL error after using ssh-keygen2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-ssh@clinet.fi Precedence: bulk Hi Robert, You'll need to generate the hostkeys without a passphrase: As root: # /usr/local/bin/ssh-keygen2 -b 1024 -P /etc/ssh2/hostkey Hostkeys must not have a passphrase. Best Regards, Steph Robert Forkner wrote: > > I'm running SSH 2.3 on an AIX 4.3.3 box. I want to change my private and > public keys, but when after I run the following command: > > /usr/local/bin/ssh-keygen2 -b 1024 /etc/ssh2/hostkey > > ...I can't restart SSH. When I try to, I get the following error: > > FATAL ERROR: ssh_privkey_read from /etc/ssh2/hostkey failed. > > I looked in /etc/ssh2/sshd2_config file and the HostKeyFIle and > PublicHostKeyFile are configured as follows: > > HostKeyFile hostkey > PublicHostKeyFile hostkey.pub > > I tried putting a fully qualified path here as well and that didn't change > anything. > > I used a backup to fix it - just so I could break it again - and when I > deleted a public key from the /.ssh2/knownhosts directory, the same error > occurred. What am I missing here, because I would really like to change > this key. > > Rob. > > ---------------------------------------------------------------------------------------------------- > Name: winmail.dat > winmail.dat Type: application/ms-tnef > Encoding: base64 -- ********************************* Please note that for support cases, if I have not heard otherwise within five business days, I will assume that your issue is resolved. Stephanie Thomas Technical Support Specialist SSH Secure Shell GIAC Certified Unix Security Administrator SSH Communications Security Inc. http://www.ssh.com/support/ssh *********************************