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.

  • Do you have access to the sshd configuration of the systems you log into?
    – nohillside
    Commented Dec 5, 2021 at 7:50
  • @nohillside yes
    – BraveHeart
    Commented Dec 5, 2021 at 8:05
  • You need to configure passphrass-less access there.
    – nohillside
    Commented 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
    Commented Dec 5, 2021 at 16:49
  • Any solutions yet?
    – Ken
    Commented Aug 3, 2023 at 9:54


You must log in to answer this question.

Browse other questions tagged .