On Wednesday, June 22, 2011 1:07:45 AM UTC-4, Andrew Skegg wrote: > > I have been tinkering with such things lately, and learning a lot. There > are > a few things I would check first: > 1) Have a look at the contents of your .ssh/id_rsa.pub key. > 2) Check your config/deploy.rb script to see which host and user it is > using. > Alright. It all looks good.
> 3) Shell into the above server and check the users .ssh/authorized_keys > file. > It should contain a line identical to you local id_rsa.pub key. > This line - does every part of it needs to be *exactly* identical to what I have in my local id_rsa.pub key? 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? > 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. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/r9BGxBwUvk4J. 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.

