3

I am trying to use my ssh key with touchID. As others suggested here, I ran ssh-add -K ~/.ssh/[my-private-key] and modified my .ssh/config with

 Host *
   UseKeychain yes
   AddKeysToAgent yes
   IdentityFile ~/.ssh/id_rsa

which works and makes my key available from the Keychain however it doesn't force me to provide my fingerprint. I would like to force the usage of TouchID to unlock my key every time when I try to ssh in, or at least once after opened the terminal client.

6
  • Do you have access to the sshd configuration of the systems you log into?
    – nohillside
    Dec 5, 2021 at 7:50
  • @nohillside yes
    – BraveHeart
    Dec 5, 2021 at 8:05
  • You need to configure passphrass-less access there.
    – nohillside
    Dec 5, 2021 at 8:11
  • That is how it is configured, just using ssh key to to ssh in, have no issue with that.
    – BraveHeart
    Dec 5, 2021 at 16:49
  • Any solutions yet?
    – Ken
    Aug 3, 2023 at 9:54

0

You must log in to answer this question.

Browse other questions tagged .