[GH-ISSUE #1561] DSA算法生成私钥登录报错 #898

Closed
opened 2026-02-27 00:01:27 +03:00 by kerem · 3 comments
Owner

Originally created by @lumingdong on GitHub (Feb 16, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1561

connection fails: Error while signing data with privateKey: error:06000080:public key routines:OPENSSL jnternal:UNSUPPORTED_ ALGORITHM

Originally created by @lumingdong on GitHub (Feb 16, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1561 connection fails: Error while signing data with privateKey: error:06000080:public key routines:OPENSSL jnternal:UNSUPPORTED_ ALGORITHM
kerem 2026-02-27 00:01:27 +03:00
Author
Owner

@zxdong262 commented on GitHub (Feb 16, 2020):

pubkey开头是什么样的 ssh-xxxx? @lumingdong

<!-- gh-comment-id:586699463 --> @zxdong262 commented on GitHub (Feb 16, 2020): pubkey开头是什么样的 ssh-xxxx? @lumingdong
Author
Owner

@lumingdong commented on GitHub (Feb 21, 2020):

@zxdong262 公钥开头是ssh-dss,私钥是-----BEGIN DSA PRIVATE KEY-----

<!-- gh-comment-id:589539858 --> @lumingdong commented on GitHub (Feb 21, 2020): @zxdong262 公钥开头是ssh-dss,私钥是-----BEGIN DSA PRIVATE KEY-----
Author
Owner

@zxdong262 commented on GitHub (Feb 21, 2020):

@lumingdong 推荐使用 ECDSA
DSA: It’s unsafe and even no longer supported since OpenSSH version 7, you need to upgrade it!
https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54

<!-- gh-comment-id:589568193 --> @zxdong262 commented on GitHub (Feb 21, 2020): @lumingdong 推荐使用 ECDSA DSA: It’s unsafe and even no longer supported since OpenSSH version 7, you need to upgrade it! https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#898
No description provided.