Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH连接异常 #3112

Closed
lovese opened this issue Aug 13, 2019 · 9 comments
Closed

SSH连接异常 #3112

lovese opened this issue Aug 13, 2019 · 9 comments

Comments

@lovese
Copy link

lovese commented Aug 13, 2019

SSH连接异常,查看日志报session不够,SFTP连接没有得到释放
image

默认是10个session,刚好满了就再也连接不上了,必须杀掉这些session,才可以连接

使用版本

最新版

问题复现步骤

还不清楚为啥会这样,好像是开发用xftp工具多开连接窗口

具体表现

Connect asset PH-web-server error: ssh: rejected: administratively prohibited (open failed)

@wojiushixiaobai
Copy link
Member

@lovese 资产的sshd_config
MaxSession 10 # 默认为10,请自行修改

@lovese
Copy link
Author

lovese commented Aug 14, 2019

@wojiushixiaobai 我改了这个参数后重启SSH服务,不起作用,最多还是10个,我觉得重点不是这个参数的问题,是session不会释放,一直占用

@wojiushixiaobai
Copy link
Member

@lovese koko或者coco config.yml里面关闭连接复用

@lovese
Copy link
Author

lovese commented Aug 15, 2019

我测试一下看看

@lovese lovese closed this as completed Aug 15, 2019
@yydance
Copy link

yydance commented Jan 16, 2020

这个问题解决了吗?同样问题

@zhixiangjoy
Copy link

+1 I meet the same problem !

@auto007
Copy link

auto007 commented May 15, 2020

我也遇到了这个问题

@51stack
Copy link

51stack commented Nov 20, 2020

+1

@KeithTt
Copy link

KeithTt commented Jun 8, 2021

@lovese 资产的sshd_config
MaxSession 10 # 默认为10,请自行修改

改了这个参数,但是没起作用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants