Displaying 2 results from an estimated 2 matches for "load_private_key_ssh2".
2001 Feb 21
0
Private key files closed twice --
=====
I believe that each private key file read is closed twice as
load_private_key(filename, ...)
fd = open(filename, ...)
...
load_private_key_rsa1(fd, ...)
...
load_private_key_ssh2(fd, ...)
...
close(fd);
Unfortunately, "load_private_key_rsa1" and "load_private_key_ssh2" also
close the file. It would simplest to remove the `close()'s in the rsa2
and ssh2 routines except that the ssh2 routine converts the file
descriptor into a streams pointer. The...
2001 Jan 27
4
load host key error:
I get error:
%SSHD-3-ERROR: Could not load host key: /tmp/ssh_host_dsa_key: Bad file
descriptor
Jan 26 23:58:52: %SSHD-6-INFO: Disabling protocol version 2. Could not
load host key
Everything looks okay, the file exists, (it was generated using command:
ssh-keygen -d -f ssh_host_dsa_key -N '')
I also do 'ls' and find the file exists with permissions:
-rw------- 1 root group