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
質問済み 1年前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
回答済み 1年前
profile picture
エキスパート
レビュー済み 1年前
profile picture
エキスパート
レビュー済み 1年前
  • Thanks you were right about leaving it idle. I thought it was aws but will look at the Linux configuration.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ