Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Sep 21, 2023
1 parent faff692 commit cfb0aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyakvnc/HyakVncInstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_openssh_connection_string(self, login_host: str, port_on_client: Optiona
port_on_client = port_on_client or port_on_node
assert port_on_client is not None, "Could not determine a port to open on the client"
s_base = f"ssh -v -f -o StrictHostKeyChecking=no -J {login_host} {compute_node} -L {port_on_client}:localhost:{port_on_node}"
s = f"{s_base} sleep 10; vncviewer localhost:{port_on_client}" if not apple_rdp else s = f"{s_base} sleep 10; open rdp://localhost:{port_on_client}"
s = f"{s_base} sleep 10; vncviewer localhost:{port_on_client}" if not apple_rdp else f"{s_base} sleep 10; open rdp://localhost:{port_on_client}"
return s

def cancel(self):
Expand Down

0 comments on commit cfb0aaf

Please sign in to comment.