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

[功能请求] 支持fido2的ssh密钥 #89

Open
ztmzzz opened this issue Mar 3, 2024 · 4 comments
Open

[功能请求] 支持fido2的ssh密钥 #89

ztmzzz opened this issue Mar 3, 2024 · 4 comments

Comments

@ztmzzz
Copy link

ztmzzz commented Mar 3, 2024

对于ed25519_sk这样的fido2 ssh密钥,目前程序无法支持

Warning: parse private key [/home/xxx/.ssh/id_ed25519_sk] failed: ssh: unhandled key type

类似于masahide/OmniSSHAgent#37 (comment)

临时解决方案:ssh-add

@lonnywong
Copy link
Member

好像你给出的这个链接也还没支持?我暂时还不知怎么实现。

@ztmzzz
Copy link
Author

ztmzzz commented Mar 11, 2024

我想应该要看看fido2的具体实现情况,目前也就openssh做了这个功能。这个issue主要还是给个简单的解决方案给人查询。

@ztmzzz
Copy link
Author

ztmzzz commented Mar 21, 2024

我已经实现了fido2 ssh密钥的功能,但是需要修改go-libfido2库,不知作者是否愿意加入。示例

@lonnywong
Copy link
Member

等我抽出时间了,再研究一下。暂时可以先用 ssh-add 顶着,或者试试 ControlMasterControlPath,这样 tssh 会调起 openssh 来登录,然后复用 openssh 登录的连接。

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