There isn’t public documentation for this but erlang actually has a ssh_dbg module that can be used to enable verbose ssh debug logging.
The most simple usage is to replace :ssh.start()
with :ssh_dbg.start()
and then also call :ssh_dbg.on()
to enable all logging. Though that can be pretty verbose so you might want to only log certain message by passing options to on()
(though I don’t know what all supported values are).