ssh-keygen opens NULL filename

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Thu Oct 17 02:46:30 EST 2002


On Wed, 16 Oct 2002, Luc I. Suryo wrote:

>
> Hello,
>
>
> I have no answer but it works on my system, used Forte C
>
> 11:07 nc1701[10005] ./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:
> 64:11:a7:80:a3:ca:dd:06:a6:fe:b0:3b:b9:c3:53:c2 root at nc1701

Hi,
  it also works for me, if I omit --with-kerberos4=/usr/athena configure
option. Or do you use kerberos4 as well? Which version?


bash-2.05b# ./ssh-keygen -t rsa -f /tmp/ssh_host_dsa_key -N ""
Generating public/private rsa 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:
a4:33:2b:d6:7d:3a:db:98:96:58:d3:c4:98:6c:0f:f5 root at pf-i400
bash-2.05b#


[...]
time()                                          = 1034786736
getpid()                                        = 1062 [1061]
getpid()                                        = 1062 [1061]
stat64("/tmp/ssh_host_dsa_key", 0xEFFFF068)     Err#2 ENOENT
open64("/tmp/ssh_host_dsa_key", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3
fstat64(3, 0xEFFFD5A0)                          = 0
ioctl(3, TCGETA, 0xEFFFD52C)                    Err#25 ENOTTY
brk(0x000D6068)                                 = 0
brk(0x000D8068)                                 = 0
write(3, " - - - - - B E G I N   R".., 887)     = 887
close(3)                                        = 0
getpid()                                        = 1062 [1061]
getpid()                                        = 1062 [1061]
Your identification has been saved in /tmp/ssh_host_dsa_key.
write(1, " Y o u r   i d e n t i f".., 61)      = 61
open64("/tmp/ssh_host_dsa_key.pub", O_WRONLY|O_CREAT|O_TRUNC, 0644) = 3
fstat64(3, 0xEFFFE108)                          = 0
ioctl(3, TCGETA, 0xEFFFE094)                    Err#25 ENOTTY
write(3, " s s h - r s a   A A A A".., 222)     = 222
close(3)                                        = 0
Your public key has been saved in /tmp/ssh_host_dsa_key.pub.
write(1, " Y o u r   p u b l i c  ".., 61)      = 61
The key fingerprint is:
write(1, " T h e   k e y   f i n g".., 24)      = 24
b9:b1:42:da:30:5b:06:27:0d:43:f9:a9:c2:30:6e:1c root at pf-i400
write(1, " b 9 : b 1 : 4 2 : d a :".., 61)      = 61
llseek(0, 0, SEEK_CUR)                          = 714032
_exit(0)
bash-2.05b#

>
> 11:07 nc1701[10006] uname -a
> SunOS nc1701 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-30
>
> some diff. is the OS, i use Solaris 8 and Martin's is Solaris 2.6
> and teh compiler we use, gcc vs Sun Forte C




More information about the openssh-unix-dev mailing list