Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to add a remote, but it's asking me for a ssh password?

I'm so confused, I've added the same remote on a different computer and it didn't ask me for a password. I've also added a different remote on this computer, but again no password.

I've set up my public key on the remote end, that seems to work, but again, it's asking for a password.

What's going on?

share|improve this question

migrated from Jun 14 '11 at 9:34

This question came from our site for professional and enthusiast programmers.

Does ssh also ask you for a password? (Probably.)

Is your private key installed correctly? (Probably not.) Make sure that your private key is installed on your local computer at ~/.ssh/id_dsa (for DSA keys) and make sure that the permissions of ~/.ssh are 700 -- if the permissions are 755, then SSH will refuse to read the key. You can try increasing the verbosity of SSH to find out more information.

share|improve this answer

is the user name the same on both machines? i.e. do they use the same key for authentication?

to make sure you use the same user, configure your remotes as ssh://…

share|improve this answer

most likely this is an RSA key. When you generate one, don't specify a password. Sounds like you've updated the knownhosts file on the remote. connect with ssh -vvvv server to see what keys it's offering. If it's the wr

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .