Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
373 stars 68 forks source link

Add events handlers for ssh2 #457

Open mbroinsky opened 7 months ago

mbroinsky commented 7 months ago

Adding "close" and "end" events handlers to sshClient to detect server-side disconnect and close the local socket.

This events are listed in:

https://www.npmjs.com/package/ssh2#client