version 1.30.2.2, 2003/04/03 22:35:17 |
version 1.31, 2002/06/05 16:35:45 |
|
|
.Nd adds RSA or DSA identities to the authentication agent |
.Nd adds RSA or DSA identities to the authentication agent |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm ssh-add |
.Nm ssh-add |
.Op Fl lLdDxXc |
.Op Fl lLdD |
.Op Fl t Ar life |
|
.Op Ar |
.Op Ar |
.Nm ssh-add |
.Nm ssh-add |
.Fl s Ar reader |
.Fl s Ar reader |
|
|
.Xr ssh-agent 1 . |
.Xr ssh-agent 1 . |
When run without arguments, it adds the files |
When run without arguments, it adds the files |
.Pa $HOME/.ssh/id_rsa , |
.Pa $HOME/.ssh/id_rsa , |
.Pa $HOME/.ssh/id_dsa |
.Pa $HOME/.ssh/id_dsa |
and |
and |
.Pa $HOME/.ssh/identity . |
.Pa $HOME/.ssh/identity . |
Alternative file names can be given on the command line. |
Alternative file names can be given on the command line. |
|
|
Instead of adding the identity, removes the identity from the agent. |
Instead of adding the identity, removes the identity from the agent. |
.It Fl D |
.It Fl D |
Deletes all identities from the agent. |
Deletes all identities from the agent. |
.It Fl x |
|
Lock the agent with a password. |
|
.It Fl X |
|
Unlock the agent. |
|
.It Fl t Ar life |
|
Set a maximum lifetime when adding identities to an agent. |
|
The lifetime may be specified in seconds or in a time format |
|
specified in |
|
.Xr sshd_config 5 . |
|
.It Fl c |
|
Indicates that added identities should be subject to confirmation before |
|
being used for authentication. |
|
Confirmation is performed by the |
|
.Ev SSH_ASKPASS |
|
program mentioned below. |
|
Successful confirmation is signaled by a zero exit status from the |
|
.Ev SSH_ASKPASS |
|
program, rather than text entered into the requester. |
|
.It Fl s Ar reader |
.It Fl s Ar reader |
Add key in smartcard |
Add key in smartcard |
.Ar reader . |
.Ar reader . |