How to provide password in hg pull command without prompt
Isaac Jurado
diptongo at gmail.com
Tue Feb 7 17:57:21 UTC 2012
On Tue, Feb 7, 2012 at 1:17 PM, HardikShahatOpsHub
<hardik.shah at opshub.com> wrote:
> If the repository is hosted on SSH and if I run hg pull command,then
> it will prompt me for password of the SSH user.
>
> So is there a way to provide password as an argument in hg pull
> command, so that it will not prompt for the password.
You could use key based SSH authentication:
http://unixwiz.net/techtips/ssh-agent-forwarding.html
Cheers.
--
Isaac Jurado
"The noblest pleasure is the joy of understanding"
Leonardo da Vinci
More information about the Mercurial-devel
mailing list