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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则