David Zhang <dzhang21@...> writes: >On my new machine, my global git config email is different from the email I used to use. So, in the .ssh/authorized_keys file on the server, the key is *exactly* the same, but the email at the end is different - does this actually matter?
Ahh yes - of course it matters. The email address forms part of the key. Since it does not match the SSH server is not recongising you. Add the new key to the authorised_keys file and see what happens. > This will make sure everything between your laptop and the server is set up correctly. Be aware that Capistrano may want to shell to your git repository, so ensure the cap user's id_rsa.pub key on the server also apprears in the authorised_key file for the git user. > "in the authorised_key file for the git user" - is that in my ~/.ssh directory on my new computer? I only have id_rsa, id_rsa.pub, and known_hosts in there. Here I was referring to a configuration in which you have seperate "git" and "deploy" users on the server. During the deploy the "deploy" user will ssh to the "git" user, thus the "git" user will need the id_rsa.pub key of the deploy user in it's authorised_keys file. Of course, your set up may be different to what I am assuming. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

