Pod ssh configuration docs out of date?
I've been having issues setting up ssh for new pods using the current documentation. After some investigation, it looks like the ssh pub key environment variable has changed names from
RUNPOD_SSH_PUBLIC_KEY
to PUBLIC_KEY
.
I ran the following script as a startup command to discover:
and got the following:
Simply updating the recommended startup script to use $PUBLIC_KEY
instead of $RUNPOD_SSH_PUBLIC_KEY
resolved the issue. I would also recommend adding some extra logging as the current script fails silently. I have a branch with the updates ready but looks as though I can't pull request into the repo.4 Replies
Where did you get
RUNPOD_PUBLIC_KEY
from? Its been PUBLIC_KEY
for at least a year already and has not changed.
Do you have a link to the docs you are referencing?Use SSH | RunPod Documentation
Set up secure SSH access to RunPod using public/private key pairs, ensuring compatibility with ed25519 keys, and troubleshoot common issues like incorrect key copying and file path errors.
Step 3 code snippet
I see its correct in the screenshot but not the code snippet. @PatrickR