xxredxpandaxx Posted February 6, 2023 Share Posted February 6, 2023 I can't ssh into server 2 from server 1 using keys. Both are unraid systems. When I try to ssh from server 1 to server 2 is asks for a password. It works fine when I ssh into either server from my laptop using keys though. I generated my keys on server server 1 and placed the files in /root/.ssh/. I used ssh-copy-id to copy over the public key to server 2. I manually verified that they were indeed imported correctly on server 2 as well. not really sure how to trouble shoot this issue and looking for some guidance. Quote Link to comment
apandey Posted February 6, 2023 Share Posted February 6, 2023 Does running ssh in verbose mode help? Quote Link to comment
xxredxpandaxx Posted February 6, 2023 Author Share Posted February 6, 2023 (edited) Does the key file need to have a specific naming convention? seems like its looking for id_[encryptionName] I'll generate new keys with this name and see if it works. Edit: Ya looks like that was the problem. The key files need to have a specific naming convention (the default naming convention). Thanks for the help! id_rsa id_ecdsa id_ecdsa_sk id_ed25519 id_ed25519_sk id_xmss id_dsa Edited February 6, 2023 by xxredxpandaxx Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.