Bug 31 - ssh-keygen not able to save key files
Summary: ssh-keygen not able to save key files
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-keygen (show other bugs)
Version: -current
Hardware: All Mac OS X
: P2 major
Assignee: Kevin Steves
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-06 00:49 AEDT by Robert Harder
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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