Can skypilot state be shared between machines for remote access?
Chris Bamford
Asked on Nov 07, 2023
Currently, sharing skypilot state between machines is not supported natively. However, you can achieve this by syncing the ~/.sky
and ~/.ssh/{config,sky-key,sky-key.pub}
files across machines using Google Drive, Dropbox, or similar services. This should allow you to SSH into the cpunode from different locations. If you have different $HOME
paths on the machines, you may need to update the IdentityFile
path in ~/.ssh/config
after copying it to the destination machine. Alternatively, you can explore using a solution like Terraform, which uploads the state to an S3 bucket and syncs it for remote access.