Erlang SSH - No host key available
8 Jan 2023 16:31
You’re experimenting with Erlang’s built-in SSH daemon, and it fails with “No host key available”. What’s up with that?
You’re experimenting with Erlang’s built-in SSH daemon, and it fails with “No host key available”. What’s up with that?
In the previous post, I showed how to enable SSH access to the Erlang remote console on a pod. When we left it, it had no authentication. Let’s fix that.
As mentioned earlier, using TLS for Erlang
distribution breaks erlclu remote_console
(because it breaks erl_call
). At the time, I worked around the problem by
using nodetool
. This post shows how to use Erlang’s SSH daemon instead.
Erlang/OTP provides a built-in SSH client and daemon. You can use this to expose the console directly over SSH.
I was attempting to use SSH to set up a tunnel (to our build server) this morning, so I typed the following: