You are not logged in.
I'm using Pass unix password manager. I have been using it before with my password store backed up to GitHub. I'm trying to clone my password store back to my new Arch installation install but I can't figure out how to do it.
So far, what I've tried is, firstly I setup a local pass store using `pass init my_gpg_key_id`. Then I issued `pass git init` command. Then I added my remote like `pass git remote add origin git@github.com:username/pass-store.git`.
But when I do `pass git pull` I get the error
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Last edited by kovac (2021-05-23 15:30:52)
Offline
I just hadn't added the ssh key to my ssh agent. It got fixed after that. Just in case if someone's trying something similar, on top of what I mentioned in the question, I also had to do a `pass git fetch` and a `pass git reset --hard origin/master` to throw away local commits created during pass init.
Offline