Re: Read host keys from environment variables
Philipp Marek via openssh-unix-dev <[email protected]>
| Newsgroups | gmane.network.openssh.devel |
|---|---|
| Message-ID | <[email protected]> |
Ah, I got it working.
After reading the sources some more I found out that
- "HostKeyAgent" requires public keys being available in files,
which should be mentioned in the man page
(why isn't the public key queried from the agent,
public keys can be read from private key files too?),
- and that "ssh-keygen -e" can export ed25519 only in RFC4716
(PEM and PKCS8 are declined), which is the wrong format here anyway,
"ssh-keygen -y" reports the required "ssh-ed25519 AA...." line.
How about asking the HostKeyAgent for public keys to not require
the public keys in separate files?