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

Use .ssh/config to setup SSH proxy jump #64

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Conversation

ikalnytskyi
Copy link
Member

Unfortunately, my previous attempt to route deployment through a jumphost1 doesn't work. Turns out that specifying a proxyjump host inline doesn't support specifying an SSH key to authenticate with. It worked well on my machine because some default key was used transparently, but it fails on CD where no such key exist.

The new approach tries to address the problem by moving away from inline SSH configuration towards the .ssh/config file, which has everything needed specified.

Footnotes

  1. 7aec773

Unfortunately, my previous attempt to route deployment through a
jumphost[^1] doesn't work. Turns out that specifying a proxyjump host
inline doesn't support specifying an SSH key to authenticate with. It
worked well on my machine because some _default_ key was used
transparently, but it fails on CD where no such key exist.

The new approach tries to address the problem by moving away from inline
SSH configuration towards the .ssh/config file, which has everything
needed specified.

[^1]: 7aec773
@malor malor self-requested a review January 1, 2025 20:54
@ikalnytskyi ikalnytskyi merged commit 0e1a461 into master Jan 1, 2025
4 checks passed
@ikalnytskyi ikalnytskyi deleted the bug/cd-fixes branch January 1, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants