Add SSH ProxyCommand for accessing VMs through a bastion/hypervisor#10
Merged
MiguelCarpio merged 1 commit intorhos-vaf:mainfrom Jan 15, 2026
Merged
Add SSH ProxyCommand for accessing VMs through a bastion/hypervisor#10MiguelCarpio merged 1 commit intorhos-vaf:mainfrom
MiguelCarpio merged 1 commit intorhos-vaf:mainfrom
Conversation
bogdando
reviewed
Jan 14, 2026
Contributor
bogdando
left a comment
There was a problem hiding this comment.
lgtm, it makes sense to have it
csibbitt
approved these changes
Jan 14, 2026
Contributor
csibbitt
left a comment
There was a problem hiding this comment.
I'm okay with this, but I'm curious - is this needed in our lab environment for some reason, or are you just using this for development purposes?
Contributor
Author
@csibbitt We need this to allow the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Support for accessing VMs through a bastion host or hypervisor using SSH ProxyCommand, which is essential for environments where VMs are not directly accessible from the pod network (like
gpu-validationpod). e. g. VMs with private network floating IPs that can be accessed through the host (gpu-validationpod can reach the host network). This PR does:gpu_validation_ssh_proxy_commandvariable-o ProxyCommand="ssh -W %h:%p -o StrictHostKeyChecking=no -i /path/to/key user@bastion-host"The ProxyCommand uses the
-W %h:%pflag, which tells SSH to forward the connection to the target host (%h) and port (%p) through the bastion, creating a transparent tunnel.Why do we need this PR?
This is critical for environments where: