Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while cloning opam-repository #78

Closed
Mishio595 opened this issue Jan 18, 2019 · 1 comment
Closed

Error while cloning opam-repository #78

Mishio595 opened this issue Jan 18, 2019 · 1 comment

Comments

@Mishio595
Copy link

This is the error I get every time I attempt opam publish after entering my git credentials

Cloning the package repository, this may take a while...
+ /usr/bin/git "clone" "[email protected]:ocaml/opam-repository.git" "/home/lyn/.opam/plugins/opam-publish/repos/ocaml%opam-repository"
- Cloning into '/home/lyn/.opam/plugins/opam-publish/repos/ocaml%opam-repository'...
- [email protected]: Permission denied (publickey).
- fatal: Could not read from remote repository.
-
- Please make sure you have the correct access rights
- and the repository exists.
[ERROR] Uncaught exception: "/usr/bin/git clone [email protected]:ocaml/opam-repository.git /home/lyn/.opam/plugins/opam-publish/repos/ocaml%opam-repository" exited with code 128
@Mishio595
Copy link
Author

This is tied to #46

setting up github ssh resolves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant