SSH-TPM-ADD(1)

NAME
ssh-tpm-add - adds private keys to the *ssh-tpm-agent*

SYNOPSIS

ssh-tpm-add [-c]

ssh-tpm-add [-c] [PATH ...]

DESCRIPTION

ssh-tpm-add adds TPM wrapped private keys to ssh-tpm-agent(1). Any specified keys as arguments are added to the running agent.

It requires the environment variable SSH_TPM_AUTH_SOCK to point at an active UNIX domain socket with an agent listening.

If no files are given it will try to load the default keys ~/.ssh/id_ecdsa.tpm and ~/.ssh/id_rsa.tpm.

OPTIONS

-c
    Indicates that added identities should be subject to confirmation before being used for authentication. Confirmation is performed by ssh-tpm-agent(1) via SSH_ASKPASS. Successful confirmation is signaled by a zero exit status from the askpass program, rather than text entered into the requester. This mirrors ssh-add(1) -c.

ENVIRONMENT

SSH_TPM_AUTH_SOCK
    Identifies the path of a unix-domain socket for communication with the agent.

    Default to /var/tmp/ssh-tpm-agent.sock.

FILES

~/ssh/id_rsa.tpm, ~/ssh/id_ecdsa.tpm
    Contains the ssh private keys used by ssh-tpm-agent. They are TPM 2.0 TSS key files and securely wrapped by the TPM. They can be shared publicly as they can only be used by the TPM they where created on. However it is probably better to not do that.

~/ssh/id_rsa.pub, ~/ssh/id_ecdsa.pub
    Contains the ssh public keys. These can be shared publicly, and is the same format as the ones created by ssh-keygen(1).

SEE ALSO

ssh-add(1), ssh-agent(1), ssh(1), ssh-tpm-keygen(1), ssh-keygen(1)

NOTES, STANDARDS AND OTHER