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

Support ssh ProxyCommand option #768

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

werhner
Copy link
Contributor

@werhner werhner commented Nov 9, 2023

@werhner werhner changed the title #758 Support ssh ProxyCommand option Support ssh ProxyCommand option Nov 9, 2023
@manateelazycat manateelazycat merged commit f1724d1 into manateelazycat:master Nov 9, 2023
1 check passed
@manateelazycat
Copy link
Owner

Awesome

@manateelazycat
Copy link
Owner

这个补丁的作用就是可以跳转多个服务器, 对最终的服务器提供代码补全?

@werhner
Copy link
Contributor Author

werhner commented Nov 9, 2023

是的,首先解析 ssh config 文件中 ProxyCommand 选项获得跳转命令。然后用 paramiko 提供的 ProxyCommand 功能创建一个转发的 socket。

@manateelazycat
Copy link
Owner

@werhner 能否把 ProxyCommand 用法加入到README中? 这样用户就可以自己配置跳转服务器了

@werhner
Copy link
Contributor Author

werhner commented Nov 9, 2023

好嘞,晚上有空了,补一下 README.

@werhner werhner deleted the proxy branch May 7, 2024 06:03
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

Successfully merging this pull request may close these issues.

2 participants