using sudo with mercurial and ssh authentication
- by Shawn
How do i run
ssh-add key
sudo hg clone hg@bitbucket.org/etc/etc
but use my ssh keys and not the superusers.
Hey everyone, when i use sudo with for example, sudo hg clone hg@bitbucket.org/etc/etc after i have added a key to my user account it doesnt work. I remember this is because the sudo is ran as the superuser but that user cannot have keys…