I have such a section in my ~/.hgrcconfiguration file
[auth]
repo.prefix = ssh://hguser@192.168.132.72/repos
repo.key = /home/zerkms/.ssh/mercurial-repo/id_rsa
But when I write:
hg clone ssh://hguser@192.168.132.72/repos/rps .
mercurial still requires a password.
What did I do wrong?
To avoid obvious questions:
Yes, there is a valid key in the specified path, and it works if used with ssh-agent.
My question is how to work with keys in a section [auth].
source
share