Read host keys from environment variables
Brian Candler
b.candler at pobox.com
Fri Aug 14 20:47:52 AEST 2026
On 14/08/2026 11:11, Philipp Marek via openssh-unix-dev wrote:
> I now tried HostKeyAgent, but that alone doesn't work --
> sshd reports 'sshd: no hostkeys available -- exiting.',
> as [1] doesn't read `have_agent` which is set in line 1581.
That means sshd isn't able to talk to the agent. Either the agent isn't
running at this point, or you've not set the correct path to the socket,
or permissions, or something like that.
I'm fairly sure I've used ssh-agent for host keys in the long distant past.
More information about the openssh-unix-dev
mailing list