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

fix: Same windows 255 fix for tunneling ports #22

Merged
merged 7 commits into from
Oct 12, 2024
Merged

Conversation

mikew
Copy link
Owner

@mikew mikew commented Oct 12, 2024

Actually, turns out Windows has included OpenSSH since Windows 10 1809, and it doesn't seem to have that exit 255 issue.

It's even on your PATH by default, but Git Bash puts its path ahead of anything in Windows Registry (which is a fair play, no shade) so I didn't know it was there.

So this adds a --ssh-path flag, which defaults to the included OpenSSH on Windows, and ssh anywhere else.

@mikew mikew merged commit 69c5739 into main Oct 12, 2024
2 checks passed
@mikew mikew deleted the more-windows-255 branch October 12, 2024 19:50
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.

1 participant