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

0.5版本jumpserver只能使用password登录服务器,不能使用key登录 #912

Closed
msfar opened this Issue Jan 12, 2018 · 12 comments

Comments

Projects
None yet
3 participants
@msfar

msfar commented Jan 12, 2018

[简述你的问题]
0.5版本jumpserver只能使用password登录服务器,不能使用key登录

使用版本

0.5

问题复现步骤
  1. [步骤1]
    登录服务器报错,查看日志是使用password方式登录服务器的,因为服务器关闭了password登录,只允许key登录。
  2. [步骤2]
    登录服务器速度较慢,从第一个截图可以看出,需要8秒的时间
具体表现[截图可能会更好些,最好能截全]

image

image

[注:] 完成后请关闭 issue

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 12, 2018

Member

系统用户是使用 password + key登陆的

Member

ibuler commented Jan 12, 2018

系统用户是使用 password + key登陆的

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 12, 2018

Member

确实存在这个问题

Member

ibuler commented Jan 12, 2018

确实存在这个问题

@ibuler ibuler closed this Jan 12, 2018

@ibuler ibuler reopened this Jan 12, 2018

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 12, 2018

Member

fixed

pip install jumpserver-python-sdk==0.0.23

Member

ibuler commented Jan 12, 2018

fixed

pip install jumpserver-python-sdk==0.0.23

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 12, 2018

Member

如果没问题请关闭issue

Member

ibuler commented Jan 12, 2018

如果没问题请关闭issue

@msfar

This comment has been minimized.

Show comment
Hide comment
@msfar

msfar Jan 14, 2018

pip install jumpserver-python-sdk==0.0.23之后,可以使用key登录了,但是登录失败的报错了,登录的时候还卡住不动了
1

qq20180114-081917 2x

msfar commented Jan 14, 2018

pip install jumpserver-python-sdk==0.0.23之后,可以使用key登录了,但是登录失败的报错了,登录的时候还卡住不动了
1

qq20180114-081917 2x

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 14, 2018

Member

pull一下 coco,bug修复了,这个情况通常是key不对

Member

ibuler commented Jan 14, 2018

pull一下 coco,bug修复了,这个情况通常是key不对

@msfar

This comment has been minimized.

Show comment
Hide comment
@msfar

msfar Jan 15, 2018

已经解决,多谢!!!还有一个就是登录慢的问题,辛苦修复

msfar commented Jan 15, 2018

已经解决,多谢!!!还有一个就是登录慢的问题,辛苦修复

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 15, 2018

Member

登录慢? 跳转时慢?

Member

ibuler commented Jan 15, 2018

登录慢? 跳转时慢?

@msfar

This comment has been minimized.

Show comment
Hide comment
@msfar

msfar Jan 15, 2018

从这个截图可以看到,每次登录一台机器,耗时8秒。用的0.32版本立刻就登录进去了。
而且第一次登录跳板机,输入登录某台机器后,还会卡一下才会出现connecting to XXXXX

_71671044-4c33-422d-9ffa-01e8d76c7619

msfar commented Jan 15, 2018

从这个截图可以看到,每次登录一台机器,耗时8秒。用的0.32版本立刻就登录进去了。
而且第一次登录跳板机,输入登录某台机器后,还会卡一下才会出现connecting to XXXXX

_71671044-4c33-422d-9ffa-01e8d76c7619

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Jan 15, 2018

Member

尝试关闭 sshd 的dns反查等

Member

ibuler commented Jan 15, 2018

尝试关闭 sshd 的dns反查等

@msfar

This comment has been minimized.

Show comment
Hide comment
@msfar

msfar Jan 15, 2018

全部都是关闭的

msfar commented Jan 15, 2018

全部都是关闭的

@Nidhoggur1993

This comment has been minimized.

Show comment
Hide comment
@Nidhoggur1993

Nidhoggur1993 Jan 15, 2018

Contributor

比较奇怪,我pip install了新的sdk也pull了coco,但是还是会报错,感觉password不匹配之后不会自动切key认证?
image

最后重新用管理用户测试连接再推送系统用户就好了,我这里没问题了

Contributor

Nidhoggur1993 commented Jan 15, 2018

比较奇怪,我pip install了新的sdk也pull了coco,但是还是会报错,感觉password不匹配之后不会自动切key认证?
image

最后重新用管理用户测试连接再推送系统用户就好了,我这里没问题了

@msfar msfar closed this Jan 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment