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 514 forks source link

SSH Agent forwarding not working for `run` section #4251

Open chris-aeviator opened 3 weeks ago

chris-aeviator commented 3 weeks ago

SSH Agent forwarding allows me to pull private github repositories without having to persist keys in my task.yaml. This works perfectly for steps inside setup. However when using a command requiring SSH agent forwarding (e.g. when using pixi run with a pyproject that has a private github repo) inside the run section, the command will fail.

Version & Commit info:

Michaelvll commented 3 weeks ago

Please try the latest version: pip uninstall skypilot; pip install skypilo-nightly. We recently added additional forwarding logic for run section. See #3985