当前位置:网站首页>SFTP upload error: com.jcraft.jsch JSchException: connection is closed by foreign host
SFTP upload error: com.jcraft.jsch JSchException: connection is closed by foreign host
2022-07-29 03:38:00 【Gusu Leng】
By default ,SSH The number of connections is This configuration :
MaxStartups The default setting is 10:30:60 It means : From 10 Connections begin with 30% Probability ( Increasing ) Reject new connection , Until the number of connections reaches 60 until .
So when the number of connections becomes larger , The failure rate will become very high .
1) modify /etc/ssh/sshd_config Medium MaxStartups, Change it to MaxStartups 100:30:500
Restart the service , stay centos7 in :service sshd restart
Problem solving ! It can support high concurrency connections .
边栏推荐
- Introduction and comparison of unicast, multicast (target broadcast, multicast), broadcast, flooding, flooding
- Simple understanding of Poe and UPS Technology
- In depth C language (4) -- definition and use of switch
- Casbin入门
- AI_ Drug: VAE of molecular generation model (I)
- 再学EXKMP(EXKMP模板)
- How close can QA be to business code QA conducts testability transformation on business code
- Shardingsphere's level table practice (III)
- JS regular expression finds the number of times a character (string) appears (one line of code)
- Kubernetes-1.24.x feature
猜你喜欢

Violence recursion to dynamic programming 01 (robot movement)

Idea configuration web container and war packaging

The latest second edition of comic novels, listening to books, three in one, complete source code / integrated visa free interface / building tutorials / with acquisition interface

Deep into C language (1) -- operators and expressions

Android view system and custom view Series 1: (kotlin version)

数字孪生实际应用案例-智慧能源篇

Pp-yoloe details

Tonight at 7:30 | is the AI world in the eyes of Lianjie, Jiangmen, Baidu and country garden venture capital continue to be advanced or return to the essence of business

ROS-Errror:Did you forget to specify generate_ messages(DEPENDENCIES ...)?

Understanding of p-type problems, NP problems, NPC problems, and NP hard problems in natural computing
随机推荐
How to realize shortcut keys for interface scaling by vscade
How fast does it take to implement a super simple programming language?
VISO fast rendering convolution block
今晚7:30 | 连界、将门、百度、碧桂园创投四位大佬眼中的AI世界,是继续高深还是回归商业本质?...
Asynchronous callback future mode of concurrent mode
Simple code implementation of K-means clustering
1. 头文件-注释-命名空间-标准输入输出流
Configure vscade to realize ROS writing
for_each用法示例
1.4 nn. Module neural network (II)
The difference between int and integer. Is int or integer used in practical applications?
Notes on letter symbol marking of papers
How to solve the time zone problem in MySQL timestamp
LeetCode 1331 数组序号转换[Map] HERODING的LeetCode之路
[technology 1]
1.5 nn. Module neural network (III)
Sleuth+zipkin to track distributed service links
C language programming | exchange binary odd and even bits (macro Implementation)
Vs code must know and know 20 shortcut keys!
【科技1】