Support MoSH connections from the browser
Currently Google Cloud supports using SSH to connect to instances from within the browser, which is honestly one of the best features about Google Cloud.
However, I often work over a mobile connection, which sees frequent interruptions in connectivity. SSH is traditionally very poor at this because it uses TCP for the connection.
MoSH (the mobile shell; https://mosh.mit.edu/) is an alternative to SSH that uses UDP with encrypted packets underneath to support more robust connectivity. It would be great if Google Cloud supported this on their VM instances and in the Cloud Console by default.
The way that MoSH secures data is that it establishes a traditional connection over SSH and executes the "mosh" command to negotiate a key which it uses to encrypt data using AES-128 in OCB mode. It then connects over UDP to a port that the server allocates between 60000 and 60999 (though the range can be reduced or changed).
Thanks, we’ll consider this. But we don’t hear this request very often (you might be the first) so it’s not likely to make it to the top of the list soon.
Jiajing Wang commented
FYI, after many hours of scratching my head to use Mosh to ssh into cloud VM, I managed to get it working and decided to write a beginner's guide, in case this is helpful for someone: https://gist.github.com/marcwjj/d86bc137a302b50d8c0f1b5af5fd19d5
bob jones commented
Wasn't mosh flagged as something thats insecure by the community ?
Maus Stearns commented
Sam Pearlman commented
+ALot! Many devs (at least in the bay area) work from Caltrain, company buses, and the seamless connectivity / re-connectivity is *extremely* useful. The latency reduction is lovely as well.
Vic Mortelmans commented
I second this request. I can't afford 300ms type delay.
Allan Zabecki commented
I as well am transitioning to using mosh due to its ability to work well in a mobile environment. Please add this support.
Andres Iniesta commented
I also second this request. Please make it happen, it'd be really sweet.
Anders Damsgaard commented
I would like to second this request. Mosh is invaluable when working over ssh from a laptop with a shaky connection.
Jose Luis Prado commented