Solve the problem of disconnection after SecureCRT connection to linux times out

Source: Internet
Author: User
Solve the problem of disconnection after SecureCRT connection to linux times out. Method 1: Start from the client. Method 2: Start from the server and modify the/etc/ssh/sshd_config configuration file ClientAliveInterval300 (the default value is 0) this parameter indicates that the server sends a message to the client every five minutes... solve the problem of disconnection after SecureCRT connection to linux times out. Method 1: Start from the client. Method 2: Start from the server and modify the/etc/ssh/sshd_config configuration file ClientAliveInterval 300 (the default value is 0) this parameter means that every five minutes, the server sends a message to the client to keep the connection service sshd reload effective CentOS 5 remote SSH connection timeout setting Operating system: CentOS 5.6SSH version: openSSH_4.3p2 many articles on the Internet said that the timeout setting for remote SSH connection is in/etc/ssh/sshd_config, using ClientAlive I thought so about Interval and ClientAliveCountMax, but I have never configured timeout. I configured it today and found that this is incorrect. the correct configuration is to use the TMOUT option in/etc/profile for control, such as TMOUT = 300 and set the timeout interval to 300 seconds.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.