gigascience / gigadb-website

Source code for running GigaDB
http://gigadb.org
GNU General Public License v3.0
9 stars 14 forks source link

Fix: Please extend the log-in time for bastion server #1896

Closed YFan0019 closed 2 weeks ago

YFan0019 commented 3 months ago

Is your feature request related to a problem? Please describe. Currently, the log-in time is a few minutes, and it will log out automatically.

Describe the solution you'd like Please extend the log-in time, I think 30 minutes will be good for us to work with.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

rija commented 2 months ago

Yannan is using iTerm to connect to the bastion and from China.

rija commented 1 month ago

We probably should tweak the sshd daemon to help with the issue:

The ClientAliveInterval setting needs to be set to non-zero value (default is 0, and that's how our config is set currently) so the server sends a message to keep the connection alive. Given it is Chinese network, the ClientAliveCountMax setting might need to be increase to be greater than 3 (the default).

Also we should install screen or tmux which are tools that allow users session to persist even if they are disconnected, but that's should be done as part of #1904

rija commented 2 weeks ago

you can use tmux as a workound. It will available, once PR #1996 is merged