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
posta un anno fa366 visualizzazioni
1 Risposta
0
Risposta accettata

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
ESPERTO
Steve_M
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa
profile picture
ESPERTO
verificato un anno fa
  • Thanks you were right about leaving it idle. I thought it was aws but will look at the Linux configuration.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande