how do I increase the ssh login timeout

0

On my instance page I use the ssh login to login to my instance. How can I increase the timeout of this as it is asking me to reconnect to quickly.

Paulmac
asked a year ago330 views
1 Answer
0
Accepted Answer

Is this when you leave the session idle for a time, and you are automatically logged out? This would be a Linux configuration issue, and not AWS, which could be being enforced several ways (or could be a combination of reasons), including:

TMOUT https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/

Timeout in sshd_config https://www.tecmint.com/increase-ssh-connection-timeout/

(I don't usually like linking to non-AWS sites but there's aren't any docs about this on AWS).

If your problem is something else can you give more details, including which version of Linux you are running.

profile picture
EXPERT
Steve_M
answered a year ago
profile picture
EXPERT
reviewed a year ago
profile picture
EXPERT
reviewed a year ago
  • Thanks you were right about leaving it idle. I thought it was aws but will look at the Linux configuration.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions