Hi guys, 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
Hi guys, 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
On Linux and Mac, use ssh-agent
.
man ssh-keygen
for details)~/.ssh/id_dsa.pub
) to the remote machine, giving it a unique name (such as myhost_key.pub
)~/.ssh/authorized_keys
filessh-add
on your local workstation to add your key to the keychainYou can now use any remote hg
commands in this session without requiring authentication.