Foxboron / ssh-tpm-agent

:computer: :key: ssh-agent for TPMs
MIT License
354 stars 20 forks source link

Error when running `ssh-tpm-keygen`: `open /dev/tpmrm0: permission denied` #49

Closed BellaCoola closed 7 months ago

BellaCoola commented 7 months ago

Hello, when I try to run the ssh-tpm-keygen command, I get the following error: open /dev/tpmrm0: permission denied. Is the user executing the command expected to have some special permissions and / or is the user expected to belong to some group (e.g. tss group)?

Thank you very much and have a nice day!

Foxboron commented 7 months ago

You need to be part of the tss group, but the implementation depends on your distribution.

BellaCoola commented 7 months ago

Thank you very much for the answer. Btw I've encountered this problem on Arch Linux.

Foxboron commented 7 months ago

I'll close this issue if there isn't more to it.

BellaCoola commented 7 months ago

Sure, thanks. Btw I confirm that after adding the user to the tss group the ssh-tpm-keygen works as expected.