jcronenberg / DreamDeck

Versatile Macroboard for Touchscreens
MIT License
7 stars 0 forks source link

Register closed SSH session #18

Open jcronenberg opened 11 months ago

jcronenberg commented 11 months ago

When an existing SSH session is closed by the host the session inside SSHClient isn't set to None, so when then trying to execute a command it results in the Error USER ERROR: Couldn't open channel: Channel send error.

jcronenberg commented 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.