Showing posts with label SSH Timeout issues in AIX. Show all posts
Showing posts with label SSH Timeout issues in AIX. Show all posts

Friday 6 September 2019

Remove Timeout Parameter for SSH Connection in AIX

To remove timeout parameter for ssh connection

clientAliveInterval  600 : It means if the session is idle for 600 seconds session  will automatically  timeout.

Step 1 : Comment following parameter in /etc/profile file

# TMOUT=600

Step 2 : Un-comment in /etc/ssh/sshd_config file and set the "clientAliveInterval"  parameter:

clientAliveInterval 600
# TcpKeepAlive =yes
# ClientAlivecountMax 0

Step 3 : stop the ssh services and again start the ssh services.To reflect the ssh changes

     # stopsrc -s sshd
     # startsrc -s sshd

NOTE:  if you are not commenting TMOUT parameter, then the session will timeout if it is idle for 600 seconds even
if you have commented the mentioned the parameters in sshd_config file.

Thanks for reading this Post

Privacy Policy

  Privacy Policy for UNIX TECH INFO At UNIX TECH INFO, accessible from https://unixworld4admin.blogspot.com/, one of our main priorities is ...