Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Allow client to specify port range #296

DavidAnderson684 opened this Issue Jul 12, 2012 · 2 comments


None yet
3 participants

I like to open up several terminals in a tabbed console program. The console program lets me open new tabs using a specified command, e.g. "mosh host.example.com".

By default mosh uses a port range 60000-61000. But if you don't want to use that range, you can only specify a single port., e.g. "mosh --port=12345 host.example.com". You cannot specify an alternative range. So, therefore there is no single command you can enter to open a mosh session. If your laptop crashes, or if you want to open up a second session, then you must mentally tabulate what sessions the server already has open, and open the port manually (or script something up).

Suggested feature request: allow the client to specify a range of ports, so that having a range of manual range of ports is possible, and not just having the choice of default range or single alternative.

pixie79 commented Aug 14, 2012

I would agree this would be useful - especially if you have multiple people using the same server but using a custom udp port range.


keithw commented Oct 29, 2012

Implemented by Luke Mewbern in 141ec23.

@keithw keithw closed this Oct 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment