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 668 Jan 26 15:53 ssh_host_dsa_key -rw-r--r-- 1 root group 601 Jan 26 15:53 ssh_host_dsa_key.pub version i use: OpenSSH_2.3.1p1 on NetBSD1.4.2 Is this a bug ? Any suggestions ? Thank you.
On Fri, 26 Jan 2001, Sunil K. Vallamkonda wrote:> > I get error: > %SSHD-3-ERROR: Could not load host key: /tmp/ssh_host_dsa_key: Bad file > descriptorHmm... /tmp/ssh_host_dsa_key ???> 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 668 Jan 26 15:53 ssh_host_dsa_key > -rw-r--r-- 1 root group 601 Jan 26 15:53 ssh_host_dsa_key.pub >What path are those files in? And is the source out the CVS tree? If so what day? - Ben
poking futher into this, I find error while reading private host dsa key - I see decode error: EVP_DecodeFinal(...) calls EVP_DecodeBlock(..) which returns error. And the function call tree is: load_private_key_autodetect (...) at sshd.c:482 load_private_key (...) at authfile.c:538 load_private_key_ssh2 (...) at authfile.c:451 PEM_read_PrivateKey (...) at pem_all.c:200 PEM_ASN1_read (d2i=0x6eb40 <d2i_PrivateKey>, name=0x5fb34 "ANY PRIVATE KEY", fp=0x105a04, x=0x0, cb=0, u=0x1106) at pem_lib.c:180 PEM_ASN1_read_bio (d2i=0x6eb40 <d2i_PrivateKey>, name=0x5fb34 "ANY PRIVATE KEY", bp=0x117300, x=0x0, cb=0, u=0x1106) at pem_lib.c:238 PEM_read_bio (...) at pem_lib.c:774 DecodeFinal (...) at encode.c:395 ques: Is there a bug in ssh-keygen: generation of private host dsa key - which could be causing a read/decode error ? Thank you On Fri, 26 Jan 2001, Sunil K. Vallamkonda wrote:> > 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 668 Jan 26 15:53 ssh_host_dsa_key > -rw-r--r-- 1 root group 601 Jan 26 15:53 ssh_host_dsa_key.pub > > version i use: > OpenSSH_2.3.1p1 > on NetBSD1.4.2 > > > Is this a bug ? Any suggestions ? > > Thank you. > > > > >
I am getting error: In file: entropy.c routine: seed_rng() if (!RAND_status()) { fatal("Entropy collection failed and entropy exhausted "); Any suggestions ? Thank you.
Hello, I am seeing error: Could not load host key: /etc/ssh_host_dsa_key: Bad file descriptor Disabling protocol version 2. Could not load host key I am using sshd from OpenSSH from: development tree: openssh.20010109 However this file exists, I can do 'ls': -rw------- 1 root group 668 Jan 26 15:53 ssh_host_dsa_key -rw-r--r-- 1 root group 601 Jan 26 15:53 ssh_host_dsa_key.pub It was generated using command: ssh-keygen -d -f /etc/ssh_host_dsa_key -N '' Any suggestions ? thank you. Sunil.