mosh problems #171
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried to install
mosh
using Nix(
.nix-profile/bin
is added toPATH
via fish -Ux "shared variables")which somewhat worked, but
mosh-server
is broken...(mosh (https://mosh.org) is a partial ssh-"replacement", which piggybacks on ssh for connection establishment, and then runs the rest of the session using an UDP tty synchronization protocol, which has a lower bandwidth usage in case huge amounts of outputs are produced by the tty, useful in case an accidentially run command produces lots of output, making it hard to Ctrl+C it (e.g.
diff
on the wrong directory, or with wrong options), or when logging in via WLAN)This seems to be a known Nix on non-NixOS bug. The wiki has a fix that may work: https://git.exozy.me/exozyme/exozyme/wiki/Nix#locale-warnings
@zseri Would you like me to also install Mosh globally for all users? It seems like a really nice program and might be useful to others.
For Mosh to work, it seems it also needs to be able to reach some additional ports...
sure, you could do that (I won't require that, but I also don't have anything against it)
mosh locale problemto mosh problemsI opened up port 60000 for Mosh since I read that we only need to open as many ports as the number of concurrent users, which in this case is 1. If you would like to me to open more ports in the firewall, just ask!
I think you should open more than one (although 2 should suffice for my usage). And maybe open port 60001 instead of 60000, because it seems to default to 60001, and it seems to search upwards...
Sounds good, I'll open ports 60001 and 60002 then.
03087e7a76/src/network/network.h (L136-L137)
ah, and the port range indeed starts at 60001.