git clone through ssh returns Permission denied (publickey,password)
deployment, git, ruby-on-rails, ssh, vlad-deployer
Solution
Problem was fixed. I added
Host *
ForwardAgent yes
to /etc/ssh/ssh_config
See ssh-agent tutorial
Problem
I have production_server and git_repo_server, git_repo_server .ssh/authorized keys have production user id_rsa.pub. When I ssh to production_server and make git clone - it works fine, don't ask any password. When I try to clone git repo to production_server on my local mashine using ssh I see: ``` Permission denied, please try again. Permission denied (publickey,password). ``` It looks like ssh should be configured to send commands to remote server. But I don't know how to do it. Thanks for any help!