Cannot reconnect with new SSH
Hi I was SSH'd into a runpod instance but now I can't get it to connect. I've gone through the troubleshooting and did the walk through like 3 times. I also tried chatting with ai-helper and still couldn't get it.
6 Replies
If you've restarted your Pod the port for you to SSH to will be different.
yes i changed the port in my config
You don't have to change anything, just expose port 22 and use the connect UI to get the proper command.
I thought I was doing that. I don't know how to troubleshoot this
my error is
root@38.128.232.9: Permission denied (publickey).
I ensured my public key is in my settings
Check your Pod's Environment variables for a PUBLIC_KEY variable thats set to the right value
A public key starts with
ssh-ed25519 or ssh-rsa, not ------ BEGINAlso make sure your pubkey is modern enough, really old ones like rsa can get rejected