当前位置:网站首页>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 .
边栏推荐
- 通过递归实现多级联动
- Mathematical modeling -- analytic hierarchy process model
- Machine learning based on deepchem
- Swing V2: towards a larger model with larger capacity and higher resolution
- exness:鸽派决议帮助黄金反弹,焦点转向美国GDP
- Shutter start white screen
- 机器学习【Numpy】
- 深入C语言(2)——结构的定义与使用
- RHCE的at,crontab的基本操作,chrony服务和对称加密和非对称加密
- 后缀自动机(sam)板子 from jly
猜你喜欢

What you see and think in Microsoft

Arm architecture and neural network

Violence recursion to dynamic programming 01 (robot movement)

今晚7:30 | 连界、将门、百度、碧桂园创投四位大佬眼中的AI世界,是继续高深还是回归商业本质?...

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

向日葵远程控制为何采用BGP服务器?自动最优路线、跨运营商高速传输

I.MX6U-驱动开发-2-LED驱动

(codeforce547)C-Mike and Foam(质因子+容斥原理)

Excel拼接数据库语句

Connect with third-party QQ login
随机推荐
How close can QA be to business code Direct exposure of defects through codediff
Microcomputer principle operation
Multi level wavelet CNN for image restoration
Producer consumer model of concurrent model
Deep into C language (3) -- input and output stream of C
KNN method predicts pregnancy, KNN principle simple code
无法一次粘贴多张图片
Makefile details
Build redis environment under windows and Linux
[technology 1]
Instance setup flask service (simple version)
向日葵远程控制为何采用BGP服务器?自动最优路线、跨运营商高速传输
How fast does it take to implement a super simple language
容斥原理
LeetCode 1331 数组序号转换[Map] HERODING的LeetCode之路
Configure vscade to realize ROS writing
深入C语言(2)——结构的定义与使用
Precautions for using latex
Vs code must know and know 20 shortcut keys!
Suffix automata (SAM) board from Jly