0

Is there a way to pause mosh in a Cygwin installation?

I think it's causing an excessive battery drain for my AndroidAP phone, since it's designed to be sending packets every 3 seconds, which is not very helpful when the mosh window is minimised and not used for hours on end.

cnst
  • 2,615

1 Answers1

0

You can check out and use the lowbandwidth branch of mosh, which will have 2 significant changes:

  1. Change the acknowledgement interval from 3 seconds to 60 seconds
  2. Tweak other settings so that 3 packets are sent per keystroke, instead of 4 packets.

Refer to this mailing list posting for more information.

SSH Timeout

Don't forget that the SSH server keep-alive settings, for example

ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3
hanxue
  • 3,134