R
RunPod3mo ago
ludis

pubkey doesnt work

its in the settings it just doesnt work Permission denied (publickey) works for many other macines i tried without the newlines at the start and end
No description
8 Replies
yhlong00000
yhlong000003mo ago
1. Use the web terminal to check if the public key is in your pod’s authorized_keys file 2. ensure the private key matches the public key as a valid pair.
ludis
ludisOP3mo ago
Use the web terminal to check if the public key is in your pod’s authorized_keys file
it's there
ensure the private key matches the public key as a valid pair.
yea i have the same authroized_keys file on like 3 other machines and it just works the files have the same contents and size 576B
yhlong00000
yhlong000003mo ago
that's strange🥲 , maybe generate a new pair key and give a try?
ludis
ludisOP3mo ago
does it have to be ed25519? maybe thats why idk which one my current key uses i made it years ago
yhlong00000
yhlong000003mo ago
yeah, but I guess all private keys are on your machine right?
ludis
ludisOP3mo ago
yea i have id_rsa and id_rsa.ppk in my .ssh folder and the id_rsa.pub contents of the .pub in runpod
yhlong00000
yhlong000003mo ago
that's sounds right probably try to create a new pod and see if it works, or create a new pair of key.
ludis
ludisOP3mo ago
ive tried with many pods (accientally forgetting to change the disk space from 10gb lol) gonna try with a new key pair yea it works fine with a new ed25519 keypair
Want results from more Discord servers?
Add your server