skypilot-org / skypilot

SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
https://skypilot.readthedocs.io
Apache License 2.0
6.82k stars 513 forks source link

[Core] Make ssh connection more robust with custom proxy #4290

Closed Michaelvll closed 1 week ago

Michaelvll commented 2 weeks ago

User's custom proxy may drop the connection for idleness. Since we are using the SSH control master, the master connection (the first connection made with the remote machine) can be idle even though the later connection is doing work. We now disable the control master for custom ssh proxy command.

Tested (run the relevant ones):