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 · 4 comments

Comments

@lovese
Copy link

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

This comment has been minimized.

Copy link
Collaborator

commented Aug 14, 2019

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

@lovese

This comment has been minimized.

Copy link
Author

commented Aug 14, 2019

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

@wojiushixiaobai

This comment has been minimized.

Copy link
Collaborator

commented Aug 14, 2019

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

@lovese

This comment has been minimized.

Copy link
Author

commented Aug 15, 2019

我测试一下看看

@lovese lovese closed this Aug 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.