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
질문됨 일 년 전366회 조회
1개 답변
0
수락된 답변

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
전문가
Steve_M
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전
profile picture
전문가
검토됨 일 년 전
  • Thanks you were right about leaving it idle. I thought it was aws but will look at the Linux configuration.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠