From owner-ssh@clinet.fi  Fri May 18 00:35: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 AAA26322
	for <ssh-archiver@cs.hut.fi>; Fri, 18 May 2001 00:35:28 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id AC6F2203CD; Fri, 18 May 2001 00:33:47 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id AAA14119
	for ssh-outgoing; Fri, 18 May 2001 00:10:07 +0300
Received: from nicanor.acu.edu (nicanor.acu.edu [150.252.135.30])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id AAA14110
	for <ssh@clinet.fi>; Fri, 18 May 2001 00:10:05 +0300
Received: from forkner2k ([150.252.133.126])
	by nicanor.acu.edu (8.9.3 (MessagingDirect 1.0.2)/8.9.3) with SMTP id QAA01784
	for <ssh@clinet.fi>; Thu, 17 May 2001 16:01:35 -0500 (CDT)
From: "Robert Forkner" <forknerr@acu.edu>
To: "Stephanie Thomas" <ssh@clinet.fi>
Subject: RE: FATAL error after using ssh-keygen2
Date: Thu, 17 May 2001 16:10:03 -0500
Message-ID: <LPEAJNGFFNOGGFOKIMALEENIDAAA.forknerr@acu.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <3B0305CD.3C9B703E@clinet.fi>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
Sender: owner-ssh@clinet.fi
Precedence: bulk

Steph,

Thanks.  That did it!  I thought I had tried the no passphrase option during
one of my sessions, but I guess I hadn't.  Thanks a lot!

Rob.

 -----Original Message-----
From: 	owner-ssh@clinet.fi [mailto:owner-ssh@clinet.fi]  On Behalf Of
Stephanie Thomas
Sent:	Wednesday, May 16, 2001 5:57 PM
To:	Robert Forkner
Cc:	ssh@clinet.fi
Subject:	Re: FATAL error after using ssh-keygen2

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
*********************************

