Permission denied hg-git

573 views Asked by At

I'm trying to pull from a git repo and convert it to mercurial using hg-git with read and write access and I keep getting the following error:

hg clone git+ssh://github.com/user/myrepo.git
destination directory: myrepo
Permission denied (publickey).
abort: git remote error: The remote server unexpectedly closed the connection.

I added the private key associated with my git account to via 'git-add github_rsa' per the advise of https://github.com/schacon/hg-git/issues/161 to no avail. I've tried it both with the private repo, and changing it to public. I've also put all the necessary additions into my .hgrc file. Anyone know how to solve this?

0

There are 0 answers