skypilot-users

How do SSH keys work in skypilot?

Why is there an SSH key name?

Se

Sean Berry

Asked on Sep 29, 2023

When instances are created in skypilot, the skypilot public key ~/.ssh/sky-key.pub on your local machine is added to ~/.ssh/authorized_keys on the remote machine. The SSH key name is used to identify the key file on the local machine and is specified in the ~/.ssh/config file. This allows you to easily SSH onto the cluster head using just the cluster head name.

Sep 29, 2023Edited by