Open jcronenberg opened 11 months ago
With #20 this is fixed for executing commands but as I said in the PR:
This works for now but in the future I would still like to explore a way of maybe setting the Session
to None
as soon as the client gets disconnected.
When an existing SSH session is closed by the host the session inside
SSHClient
isn't set toNone
, so when then trying to execute a command it results in the ErrorUSER ERROR: Couldn't open channel: Channel send error
.