Skip to content

Commit

Permalink
fix ssh port
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Dec 1, 2023
1 parent b10a948 commit f2bd9f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sky/provision/provisioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _wait_ssh_connection_direct(
# following error:
# "System is booting up. Unprivileged users are not permitted to
# log in yet".
return _wait_ssh_connection_indirect(ip, ssh_user,
return _wait_ssh_connection_indirect(ip, ssh_port, ssh_user,
ssh_private_key,
ssh_control_name,
ssh_proxy_command)
Expand Down
4 changes: 2 additions & 2 deletions sky/provision/runpod/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def launch(name: str, instance_type: str, region: str, disk_size: int):
min_memory_in_gb=gpu_specs['memoryInGb'] * gpu_quantity,
country_code=region,
ports=(f'22/tcp,'
f'{constants.SKY_REMOTE_RAY_DASHBOARD_PORT}/tcp,'
f'{constants.SKY_REMOTE_RAY_PORT}/http'),
f'{constants.SKY_REMOTE_RAY_DASHBOARD_PORT}/http,'
f'{constants.SKY_REMOTE_RAY_PORT}/tcp'),
support_public_ip=True,
)

Expand Down

0 comments on commit f2bd9f7

Please sign in to comment.