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

web终端连接超时,但是jumpserver服务器直接SSH可以连接 #2789

Open
hjdo opened this issue Jun 12, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@hjdo
Copy link

commented Jun 12, 2019

[简述你的问题]
jumpserver中添加的所有资产都不能连接,在web终端中打开都是超时。

使用版本

jumpserver:1.5.0-2
coco:docker jumpserver/jms_coco:1.5.0
guacamole:docker umpserver/jms_guacamole:1.5.0

具体表现[截图可能会更好些,最好能截全]

web终端中加载的所有资产,连接时都在15秒后显示timed out,进入coco容器中查看日志,显示:
auth failed, password: 32c5d*******************************, key: b'10:a6:25:5c:54:ae:84:03:cf:54:7b:8a:3f:7b:2d:ac'

image
image

但是直接在部署jumpserver和coco的机器上ssh连接是可以的:
image

其他

[注:] 完成后请关闭 issue

@ibuler

This comment has been minimized.

Copy link
Member

commented Jun 13, 2019

auth failed,代表密码不对,应该多了很多空格导致的

@hjdo

This comment has been minimized.

Copy link
Author

commented Jun 13, 2019

@ibuler 我的所有资产服务器都添加了部署jumpserver服务器的ssh公钥,直接是用root用户无密码连接的,我这种方式应该怎么修改资产配置才能正常连接上?我不太熟悉,还多谢您的回复

@ibuler

This comment has been minimized.

Copy link
Member

commented Jun 13, 2019

jumpserver没有自动使用公钥,可以添加给root这个系统用户

@hjdo

This comment has been minimized.

Copy link
Author

commented Jun 13, 2019

@ibuler 我把部署jumpserver服务器的ssh私钥添加到这里了,但是还是会超时,不知道是不是理解错了您说的“添加给root这个系统用户”,麻烦您啦。
image

@hjdo

This comment has been minimized.

Copy link
Author

commented Jun 13, 2019

@ibuler 使用管理用户root创建新的用户也是登陆超时,自动创建私钥也不行,设置密码也不行,我的coco是用的docker启动的,是这个原因吗?
用自动推送创建的这个用户去服务器上登可以登陆,但是就是在web终端里面超时,coco中提示auth failed.
image
image

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