ssh-keygen: passphrase.
Sunil K. Vallamkonda
sunil at redback.com
Fri Jan 12 10:18:40 EST 2001
Looking at openSSH INSTALL:
To generate a host key, run "make host-key". Alternately you can do so
manually using the following commands:
ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ""
ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N ""
But when I try latter, I get:
(gdb) n
1 0x35a6 in save_private_key_ssh2 (
filename=0xb2d2c "/mydir/ssh_host_dsa_key",
_passphrase=0xb90f0 "''", key=0xc0360, comment=0xefbf91b0
"user at host")
at authfile.c:172
^^^^^^^^^
This means:
In authfile.c - save_private_key_ssh2(..):
<clipped>
if (len > 0 && len <= 4) {
error("passphrase too short: %d bytes", len);
errno = 0;
return 0;
}
<clipped>
Any ideas why this check, when INSTALL says passphrase not required ?
Thx.
Sunil.
More information about the openssh-unix-dev
mailing list