Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

My MacBook and Krypton phone app has been paired successfully, but git cli is not reaching out to my private key #328

Open
hisashiyamaguchi opened this issue May 26, 2022 · 0 comments

Comments

@hisashiyamaguchi
Copy link

hisashiyamaguchi commented May 26, 2022

Due to some reasons, my Krypton is not working properly even it used to work fine, and trying to re-setup it. My Mac and Krypton phone app has been paired successfully and I have put my public key on my GitHub SSH key, but my git cli is not reaching out to the private key. If I try to see my private key on Krypton phone app, I don't see anything.

Here comes what I've been trying.

$ uname -a
Darwin tyo-mpy1d 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64

$ kr pair
$ ls .ssh
.rwx------ 255 root 19 8 2021 config
.rwx------ 731 hyamaguc 26 5 12:47 id_krypton.pub
$ sudo cat .ssh/config
`# Added by Krypton
Host *
IdentityAgent ~/.kr/krd-agent.sock
ProxyCommand /usr/local/bin/krssh %h %p
IdentityFile ~/.ssh/id_krypton
IdentityFile ~/.ssh/id_ed25519
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_ecdsa
IdentityFile ~/.ssh/id_dsa

$ kr github
$ git clone [email protected]:hisashiyamaguchi/snyk-apps-demo.git
Cloning into 'snyk-apps-demo'...
[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.

Imgur
Imgur

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

No branches or pull requests

1 participant