Asbru-cm: Enable port range for mosh connections

Created on 26 Feb 2020  路  6Comments  路  Source: asbru-cm/asbru-cm

First of all: I love asbru-cm! Thanks for this great software!

It would be really handy to have an option to define a port range for mosh connections!

On a normal shell session i can use: mosh --ssh="ssh -p 22" -p 60000:60005 [email protected]

But asbru-cm only got an option to define one port for a session.

If i try to open another session i got (as expected):

```
Failed binding to 0.0.0.0:60000
Error binding to any interface: bind: Address already in use

enhancement

Most helpful comment

@gfrenoy I'll take this

All 6 comments

@rmueck

Would it suffice if we dynamically retry for the next available port (lets say from default port to +20)?

@rmueck

Would it suffice if we dynamically retry for the next available port (lets say from default port to +20)?

@hanspr
I think this would be a valid way to make multiple connection working! thx :)

@gfrenoy I'll take this

It has been added to next version 6.3, you can test it now if you install the Snapshot releases (I'm not sure if is already in one now) or the loki releases.

https://docs.asbru-cm.net/General/Installation/

You can test this in the "loki" version ; let us know if it works for you !

Hi!
I can confirm that the solution is working fine in 6.3.0 .
Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

popxunga picture popxunga  路  14Comments

mooky31 picture mooky31  路  3Comments

popxunga picture popxunga  路  12Comments

dakorpar picture dakorpar  路  9Comments

paliasp picture paliasp  路  11Comments