I use mercurial in my project, and every time I push new changesets to the server by ssh, it ask me for a password.
Then how to config the mercurial to push with out asking password?
I works on Ubuntu 9.10
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On Linux and Mac, use
ssh-agent.man ssh-keygenfor details)~/.ssh/id_dsa.pub) to the remote machine, giving it a unique name (such asmyhost_key.pub)~/.ssh/authorized_keysfilessh-addon your local workstation to add your key to the keychainYou can now use any remote
hgcommands in this session without requiring authentication.