R
Runpod12mo ago
lberglund

Can't connect via ssh: Runpod asking for password

When I try to connect via ssh root@213.173.110.198 -p 17455 -i ~/.ssh/id_ed25519 I get asked for a password. Following the support page I tried generating a new key, but didn't have any luck. Specifically, here's what I tried: Create a new key: ssh-keygen -t ed25519 -C "myemail@gmail.com" Cat the public key and add it to my runpod settings: cat ~/.ssh/id_ed25519.pub Connect via this command: ssh root@213.173.110.198 -p 17455 -i ~/.ssh/id_ed25519 I tried troubleshooting using the instructions here, but nothing helped. Any support would be appreciated!
Solution:
Resolved! The issue is that I had to deploy my pod AFTER adding the new key.
Jump to solution
7 Replies
Solution
lberglund
lberglund12mo ago
Resolved! The issue is that I had to deploy my pod AFTER adding the new key.
zoro00557
zoro0055711mo ago
I have an issue here what to do if I need to add another ssh key after the deployment.
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
zoro00557
zoro0055711mo ago
So restarting the pod is the only solution right
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
yhlong00000
yhlong0000011mo ago
you can also manually add your ssh public key to the ~/.ssh/authorized_keys file, so you don't have to restart the pod.
Sandeep
Sandeep9mo ago
I tried creating the new keys , basic one is connecting but with tcp is not connecting updated ssh key but not working while i created a pod last few days back , its connecting fine with the same key I was using its asking for the password

Did you find this page helpful?