当前位置:网站首页>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 .
边栏推荐
- Why do many programmers hate pair programming?
- Shutter start white screen
- Realize multi-level linkage through recursion
- Sanzi chess (player + computer)
- Deep into C language (1) -- operators and expressions
- Regular expression bypasses WAF
- (codeforce547) c-mike and foam
- VISO fast rendering convolution block
- Inclusion exclusion principle
- Leetcode 1331 array sequence number conversion [map] the leetcode path of heroding
猜你喜欢
Rongyun IM & RTC capabilities on new sites
Connect with third-party QQ login
Flutter 启动白屏
机器学习【Numpy】
ROS - create workspace
Bingbing learning notes: operator overloading -- implementation of date class
What have I learned from 200 machine learning tools?
向日葵资深产品总监技术分享:“国民远控”如何在AD域环境下应用
Excel拼接数据库语句
Matlab learning -- structured programs and user-defined functions
随机推荐
今晚7:30 | 连界、将门、百度、碧桂园创投四位大佬眼中的AI世界,是继续高深还是回归商业本质?...
ROS-Errror:Did you forget to specify generate_ messages(DEPENDENCIES ...)?
【科技1】
Singleton and invariant modes of concurrent mode
Sanzi chess (player + computer)
向日葵资深产品总监技术分享:“国民远控”如何在AD域环境下应用
JS regular expression finds the number of times a character (string) appears (one line of code)
MOS管 —— 快速复苏应用笔记(贰)[参数与应用]
3.2 model saving and loading
Set functions in kotlin
Rongyun IM & RTC capabilities on new sites
Install the packet capturing certificate
Configure vscade to realize ROS writing
NXP i.mx8mp-deepviewrt
暴力递归到动态规划 01 (机器人移动)
Simple code implementation of decision tree
Target detection, industrial defects, image segmentation -- deep learning data set induction
Machine learning [numpy]
RHCE's at, crontab's basic operations, the Chrony service, symmetric encryption and asymmetric encryption
for_each用法示例