Skip to content

Commit

Permalink
Added some more docs
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <morten@linderud.pw>
  • Loading branch information
Foxboron committed Jul 29, 2023
1 parent bae4516 commit f41092e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,23 @@ $ ssh-tpm-agent -l /var/tmp/tpm.sock
$ export SSH_AUTH_SOCK="/var/tmp/tpm.sock" ssh git@github.com
```
# ssh-config
It is possible to use the public keys created by `ssh-tpm-keygen` inside ssh
configurations.
The below example uses `ssh-tpm-agent` and also passes the public key to ensure
not all identities are leaked from the agent.
```
Host example.com
IdentityAgent $SSH_AUTH_SOCK
Host *
IdentityAgent /var/tmp/tpm.sock
IdentityFile ~/.ssh/id_ecdsa.pub
```
## License
Licensed under the MIT license. See [LICENSE](LICENSE) or http://opensource.org/licenses/MIT

0 comments on commit f41092e

Please sign in to comment.