ssh-keygen opens NULL filename

Darren Tucker dtucker at zip.com.au
Wed Oct 16 21:08:39 EST 2002


Martin MOKREJ© wrote:
>   it's impossible to use -f option with ssh-keygen with version 3.5p1:
> 
> $ ./ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
> Generating public/private dsa key pair.
> open  failed: No such file or directory.
> Saving the key failed: .

Can you provide some more details? (eg: OS & version, compiler &
version, configure options). I just tested 3.5p1 on Linux, which worked.

$ ./ssh-keygen -t dsa -f /tmp/ssh_host_dsa_key -N ""
Generating public/private dsa key pair.
Your identification has been saved in /tmp/ssh_host_dsa_key.
Your public key has been saved in /tmp/ssh_host_dsa_key.pub.
The key fingerprint is:
8b:34:74:72:e4:ba:68:b3:69:dd:18:71:c1:4c:c5:02 dtucker at gate

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list