3 ms·
You only need to open 1 udp port afaik. That's what I do anyways. Opening a high port in the 60000s is less risky than 22. You should probably remap ssh to som
by cmer 14y ago
You only need to open 1 udp port afaik. That's what I do anyways.
Opening a high port in the 60000s is less risky than 22. You should probably remap ssh to something else. Or you can use ec2 security groups to limit access to certain ips.
- oijaf888 14y agoExcept anyone on the machine can bind to a port above 1024 so if your mosh server process ever exits for any reason a compromised account could bind a backdoored version.