当前位置:网站首页>[solution] solve the problem of SSH connection being inactive for a long time and being stuck and disconnected
[solution] solve the problem of SSH connection being inactive for a long time and being stuck and disconnected
2022-07-28 02:31:00 【Allenpandas】
List of articles
1. Problem analysis
ssh After establishing the connection , If you do not operate for a long time, you will get stuck ( It's actually ssh Disconnected ), If you want to continue, you need to reconnect ssh, More trouble .
2. Solution
Use sudo jurisdiction , Open on the command line ssh Configure Wang Wenjian
sudo vim /etc/ssh/sshd_config
Find the following two configurations
ClientAliveInterval 0 # How many seconds does the client send heartbeat data to the service
ClientAliveCountMax 3 # How many seconds does the client not respond to , The server automatically disconnects
Modify the parameter values as follows :
restart ssh service
service sshd restart
边栏推荐
- 【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
- Sword finger offer special assault edition day 12
- The cooperation between starfish OS and metabell is just the beginning
- mysql创建存储过程---------[HY000][1418] This function has none of DETERMINISTIC, NO SQL
- Promise from getting started to mastering (Chapter 3: customize (handwriting) promise)
- Starfish Os打造的元宇宙生态,跟MetaBell的合作只是开始
- 支付宝小程序授权/获取用户信息
- Leetcode hot topic Hot 100 - > 3. longest substring without repeated characters
- Codeworks round 810 (Div. 2) a~c problem solution
- 埃睿迪再度亮相数字中国峰会 持续深化用科技守护绿水青山
猜你喜欢

Flume(5个demo轻松入门)

Manual installation of Dlib Library

Appium 点击操作梳理

LeetCode 热题 HOT 100 -> 3. 无重复字符的最长子串

Flex development web page instance web side

考研数学一元微分学证明题常见题型方法

C # using ABP warehouse to access the database error record set

Detailed explanation of the lock algorithm of MySQL lock series (glory Collection Edition)

MySQL数据库InnoDB存储引擎中的锁机制(荣耀典藏版)

Execute add migration migration and report build failed
随机推荐
Common video resolution
MySQL的pymysql操作
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(2)小程序功能
MySQL锁系列之锁算法详解(荣耀典藏版)
Promise from getting started to mastering (Chapter 3: customize (handwriting) promise)
Sqlserver problem solving: replication components are not installed on this server. Please run SQL Server Setup again and select the option to install replication components
0动态规划中等 LeetCode873. 最长的斐波那契子序列的长度
Ceresdao: new endorsement of ventures Dao
了解加密行业的“下一个大趋势”——Ventures DAO
Emotional drama in the world Zhou Bingkun lost his job because he saw Tu Zhiqiang and was shot
Read Plato & nbsp; Eplato of farm and the reasons for its high premium
feign调用get和post记录
SkyWalking分布式系统应用程序性能监控工具-中
[advanced ROS chapter] Lecture 10 gadf integrated simulation process and examples based on gazebo
智能合约安全——selfdestruct攻击
regular expression
[Star Project] small hat aircraft War (VI)
Promise从入门到精通(第3章 自定义(手写)Promise)
APP如何上架App Store?
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(3)后台功能