mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #518] 1.7.HTTP(S)通过SSH中转-缺少加密算法 #420
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @houchj on GitHub (Dec 31, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/518
按照-1.7.HTTP(S)通过SSH中转的使用方法-缺少加密算法
Expected Behavior
应该连接成功
Current Behavior
ERROR err : run service [http:http] fail, ERR:http servcie fail, ERR: init service fail, ERR: ssh: handshake failed: ssh: no common algorithm for key exchange; client offered: [curve25519-sha256@libssh.org ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha1], server offered: [diffie-hellman-group-exchange-sha256]
Possible Solution
添加这些缺少的算法
Steps to Reproduce
Context (Environment)
2022/12/30 22:52:51.460465 WARN connect to ssh &[xxxx:22] fail
2022/12/30 22:52:51.460576 ERROR err : run service [http:http] fail, ERR:http servcie fail, ERR: init service fail, ERR: ssh: handshake failed: ssh: no common algorithm for key exchange; client offered: [curve25519-sha256@libssh.org ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha1], server offered: [diffie-hellman-group-exchange-sha256]
按照-1.7.HTTP(S)通过SSH中转的使用方法-报错缺少加密算法
Detailed Description
请添加相应的算法
Possible Implementation
请添加相应的算法到程序里面,好像修改系统级别的~/.ssh/config /etc/ssh/ssh_config 没有用,感觉应该是程序里面指定的算法,所以只能程序修改。