My ssh connection to AWS EC2 Ubuntu will be lost because of "Connection reset by peer", if I don't use the ssh console for some time.
I wonder how much is the default timeout value of maintaining ssh connection even it's idle and where I can set it.
I searched /etc/ssh/ssh_config, in which I find only ConnectTimeout, but it is related to initial connection timeout.
And there is nothing in /etc/ssh/sshd_config.d in my system.