version 1.28.2.1, 2002/03/07 17:37:47 |
version 1.28.2.2, 2002/06/22 07:23:18 |
|
|
.Nd authentication agent |
.Nd authentication agent |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm ssh-agent |
.Nm ssh-agent |
|
.Op Fl a Ar bind_address |
.Op Fl c Li | Fl s |
.Op Fl c Li | Fl s |
.Op Fl d |
.Op Fl d |
.Op Ar command Op Ar args ... |
.Op Ar command Op Ar args ... |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl a Ar bind_address |
|
Bind the agent to the unix-domain socket |
|
.Ar bind_address . |
|
The default is |
|
.Pa /tmp/ssh-XXXXXXXX/agent.<pid> . |
.It Fl c |
.It Fl c |
Generate C-shell commands on |
Generate C-shell commands on |
.Dv stdout . |
.Dv stdout . |
|
|
.Xr ssh-add 1 |
.Xr ssh-add 1 |
adds the files |
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 . |
If the identity has a passphrase, |
If the identity has a passphrase, |
|
|
This way, private keys are not exposed to clients using the agent. |
This way, private keys are not exposed to clients using the agent. |
.Pp |
.Pp |
A unix-domain socket is created |
A unix-domain socket is created |
.Pq Pa /tmp/ssh-XXXXXXXX/agent.<pid> , |
|
and the name of this socket is stored in the |
and the name of this socket is stored in the |
.Ev SSH_AUTH_SOCK |
.Ev SSH_AUTH_SOCK |
environment |
environment |