[Bug 3627] openssh 9.4p1 does not see RSA keys in know_hosts file.
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Nov 3 04:20:36 AEDT 2023
https://bugzilla.mindrot.org/show_bug.cgi?id=3627
--- Comment #9 from openssh bugs <bugzilla at outputservices.com> ---
(In reply to openssh bugs from comment #6)
> (In reply to Darren Tucker from comment #5)
> > (In reply to openssh bugs from comment #4)
> > [...]
> > > This is a solaris sparc machine so I can not apply the "patch" as
> > > you suggested.
> > >
> > > diff: illegal option -- git
> >
> > If you need to do this in future you can build GNU patch on Solaris:
> > https://ftp.gnu.org/gnu/patch/
> >
> > > If you can apply the patch and then zip up the patched hostfile.c
> > > and upload it, I can download it and then put it in place and
> > > compile it in and see if it gives more diagnostics.
> >
> > Grab a snapshot from here:
> > https://www.mindrot.org/openssh_snap/
> >
> > and replace hostfile.[ch] with
> > https://www.dtucker.net/tmp/hostfile.c and
> > https://www.dtucker.net/tmp/hostfile.h
>
>
> Thank you for the links. I have downloaded them.
>
> I put them in place and now I'm getting a compile error I need to
> work through.
>
> This may be unrelated to the updated files.
>
> So I will continue to work on my compile issues and will use the
> updated hostfile.* files.
>
> So it may be a while before I can give a better test of the original
> issue.
>
> Thank you again.
>
> FYI: this is the compile error i am getting:
>
> gcc -m64 -std=gnu99 -o ssh ssh.o readconf.o clientloop.o sshtty.o
> sshconnect.o sshconnect2.o mux.o ssh-sk-client.o -L.
> -Lopenbsd-compat/ -Wl,-z,now -lssh -lopenbsd-compat -lresolv -lrt
> -lmd -lnsl -lsocket -lcrypto -lz
> Undefined first referenced
> symbol in file
> EVP_CIPHER_CTX_key_length ./libssh.a(cipher.o)
> EVP_CIPHER_CTX_iv_length ./libssh.a(cipher.o)
> EVP_MD_block_size ./libssh.a(digest-openssl.o)
> EVP_PKEY_base_id ./libssh.a(sshkey.o)
> ld: fatal: symbol referencing errors. No output written to ssh
> collect2: ld returned 1 exit status
> gmake: *** [ssh] Error 1
>
> I will correct this and work on the better diagnostics.
---------------------------------------------------------
Can you tell me what I'm getting:
hostfile_read_key: sshkey_read /export/home/user/.ssh/known_hosts:1:
invalid format
when it's the SSH program that is putting the keys into the known_hosts
file?
I uploaded attachments and diagnostics on October 28, 2023.
Any help would be greatly appreciated.
Thursday, November 2, 2023 1120 hrs MDT
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list