Skip to content

Commit 1db2251

Browse files
author
lerndevops
authored
Create ec2-session-timeout-fix.txt
1 parent 13f060b commit 1db2251

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

aws/ec2-session-timeout-fix.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
if you are facing timout issues once logged into ec2 instances try below.
2+
3+
on ec2 terminal,
4+
5+
echo "ClientAliveInterval 240" >> /etc/ssh/sshd_config
6+
service sshd restart
7+
8+
logout & login back

0 commit comments

Comments
 (0)