Bug 31

Summary: ssh-keygen not able to save key files
Product: Portable OpenSSH Reporter: Robert Harder <rharder>
Component: ssh-keygenAssignee: Kevin Steves <stevesk>
Status: CLOSED WORKSFORME    
Severity: major    
Priority: P2    
Version: -current   
Hardware: All   
OS: Mac OS X   

Description Robert Harder 2001-12-06 00:49:15 AEDT
ssh-keygen is not able to save key files. Typical session:

% ssh-keygen -t rsa -f mykey -N ""
Generating public/private rsa key pair.
open  failed: No such file or directory.
Saving the key failed: .

This happens to me on Mac OS X 10.1.1 with openssl 0.9.6b and openssh 3.0.2p1.
Among other things, 'sudo make install' fails because of this.

openssl was configured as follows:
./Configure rhapsody-ppc-cc --prefix=/usr/local \
  --openssldir=/usr/local/openssl threads

openssh was configured with both './configure' and './configure --
sysconfdir=/private/etc' with the same result.

It's not a simple file permissions problem (bummer).

-Rob
Comment 1 Kevin Steves 2001-12-11 05:09:18 AEDT
i can't explain this; i can dup with:

$ ssh-keygen -t rsa -f '' -N ""
Generating public/private rsa key pair.
open  failed: No such file or directory.
Saving the key failed: .

need more info.  can other macosx users dup?
Comment 2 Kevin Steves 2002-01-06 09:57:34 AEDT
can't dup.
Comment 3 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED