sshcode
sshcode copied to clipboard
Kill started chrome window on interrupt
Kinda challenging to do this entirely on the host.
We can add a flag to code-server so the client will close the window once we lose connection.
That seems reasonable. I think it should try to reconnect and only exit if the port is unavailable, that should exclude natural connection issues.
Would it be possible to have code-server support mosh instead of ssh, if it's available? I haven't looked at the implementation of codeserver, but mosh is a great solution to help with poor or intermittent connections.
@marccampbell You can already easily use mosh, while sshcode is coupled to ssh, code-server just exposes itself on a port that you should be able to forward via mosh.
Think this would be best as part of the sshcode proxy. We can just inject some javascript so that if the connection is dropped, instead of reconnecting, we just close the window.