Why do I still have to enter password after I entered ssh-agent and ssh-add?
问题 I'm learning Ansible, in a setup document : http://docs.ansible.com/intro_getting_started.html It says if I don't want to enter password every time, I can do : $ ssh-agent bash $ ssh-add ~/.ssh/id_rsa I did it, but how come I still have to enter password every time ? Then it says "you may wish to use Ansible’s --private-key option", but I can't find any document on that. Whay's that for and how to do it ? 回答1: I'm not sure about Ansible, but I know a bit about how ssh keys work When you