Ticket #673 (closed maintenance: fixed)

Opened 3 years ago

Last modified 3 years ago

Install mosh - the mobile shell

Reported by: chris Owned by: chris
Priority: minor Milestone: Maintenance
Component: Live server Keywords:
Cc: ed, jim, sam Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.45

Description

The mobile shell enables terminal connections to stay up when using really bad connections, for example on a train, see:

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.0 to 0.25

Mosh was installed a while ago on the servers and this was documented in the /root/Changelog but not on a ticket or the wiki (sorry):

Install on wiki:ParrotServer:

2014-01-03      chris
        *       mosh : installed

Install on wiki:PenguinServer:

2013-12-26      chris
        *       mosh : installed

Install on wiki:PuffinServer:

2014-01-10      chris
        *       mosh : installed

However it doesn't currently work on wiki:PuffinServer as the CSF firewall blocks it. The changes needed to enable mosh to work have been made to the /etc/csf/csf.conf script:

# Allow incoming UDP ports
UDP_IN = "20,21,53,123,161,33434:33523,60000:60040"

# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = "20,21,53,113,123,161,33434:33523,60000:60040"

UDP ports 60000 to 60040 have been opened here, however the updated csf config hasn't yet been applied as it takes quite a long time to reload the firewall config.

Last edited 3 years ago by chris (previous) (diff)

comment:2 in reply to: ↑ 1 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Status changed from new to closed
  • Resolution set to fixed
  • Total Hours changed from 0.25 to 0.45

Replying to chris:

UDP ports 60000 to 60040 have been opened here, however the updated csf config hasn't yet been applied as it takes quite a long time to reload the firewall config.

The wiki:PuffinServer reboot resulted in the firewall being reloaded and now mosh works.

The documentation has been updated for all three servers:

Note: See TracTickets for help on using tickets.