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

当服务器只允许证书登录时,无法登录 #4

Closed
MiracleLau opened this issue Dec 19, 2023 · 4 comments
Closed

当服务器只允许证书登录时,无法登录 #4

MiracleLau opened this issue Dec 19, 2023 · 4 comments

Comments

@MiracleLau
Copy link
Contributor

我的私钥文件为:~/.ssh/ssh,使用如下命令:

ssx -s root@192.168.0.4 -k ~/.ssh/ssh

回车后提示我输入服务器密码,而不是私钥的密码。

2023-12-19T16:59:40+08:00 INFO connecting to root@192.168.0.4:22
root@192.168.0.4's password:

当我输入服务器的密码后提示:

ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
vimiix added a commit that referenced this issue Dec 20, 2023
@vimiix
Copy link
Owner

vimiix commented Dec 20, 2023

@MiracleLau 感谢指出,已在 v0.0.5 版本修复

@MiracleLau
Copy link
Contributor Author

@MiracleLau 感谢指出,已在 v0.0.5 版本修复

非常感谢。另外,请问数据文件是否有加密的打算?我看密码目前都是明文保存。

@vimiix
Copy link
Owner

vimiix commented Dec 21, 2023

@MiracleLau 后续会增加对密码类的字段的加密。在这个 issue 里追踪

#5

@MiracleLau
Copy link
Contributor Author

@vimiix 收到,再次感谢~

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

2 participants