Open balupton opened 5 years ago
I guess it is this section of ~/.ssh/config
right?
# Added by Krypton
Host *
IdentityAgent ~/.kr/krd-agent.sock
ProxyCommand /usr/local/bin/krssh %h %p
IdentityFile ~/.ssh/customisethis
I have done this:
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
~/.ssh/github.com/id_rsa
Settings | SSH and GPG Keys
Edit ~/.ssh/config
Host github.com
IdentityFile ~/.ssh/github.com/id_rsa
# 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
that isnt a fallback... that is using your computer local key as primary, which defeats the purpose of having it only in the secure enclave of your phone
@FernandoMiguel thx, but for me, it works. It always uses my krypton key but I would assume that when it doesn't work it uses my other SSH-Key, because both are registered within GitHub & it matches the host within the config.
Sometimes krypton fails to connect, and it seems it now supports a local ssh key fallback, how do I configure which local ssh key it should use?