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

[k8s] Fix IPv6 ssh support #4497

Merged
merged 10 commits into from
Dec 20, 2024
3 changes: 2 additions & 1 deletion sky/provision/kubernetes/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,8 @@ def construct_ssh_jump_command(
'-o StrictHostKeyChecking=no '
'-o UserKnownHostsFile=/dev/null '
f'-o IdentitiesOnly=yes '
f'-W %h:%p {ssh_jump_user}@{ssh_jump_ip}')
r'-W \[%h\]:%p '
f'{ssh_jump_user}@{ssh_jump_ip}')
if ssh_jump_port is not None:
ssh_jump_proxy_command += f' -p {ssh_jump_port} '
if proxy_cmd_path is not None:
Expand Down
Loading