version 1.39, 2003/06/10 09:12:11 |
version 1.39.4.1, 2004/08/19 04:13:27 |
|
|
identities anywhere in the network in a secure way. |
identities anywhere in the network in a secure way. |
.Pp |
.Pp |
There are two main ways to get an agent set up: |
There are two main ways to get an agent set up: |
Either the agent starts a new subcommand into which some environment |
The first is that the agent starts a new subcommand into which some environment |
variables are exported, or the agent prints the needed shell commands |
variables are exported, eg |
(either |
.Cm ssh-agent xterm & . |
|
The second is that the agent prints the needed shell commands (either |
.Xr sh 1 |
.Xr sh 1 |
or |
or |
.Xr csh 1 |
.Xr csh 1 |
syntax can be generated) which can be evalled in the calling shell. |
syntax can be generated) which can be evalled in the calling shell, eg |
|
.Cm eval `ssh-agent -s` |
|
for Bourne-type shells such as |
|
.Xr sh 1 |
|
or |
|
.Xr ksh 1 |
|
and |
|
.Cm eval `ssh-agent -c` |
|
for |
|
.Xr csh 1 |
|
and derivatives. |
|
.Pp |
Later |
Later |
.Xr ssh 1 |
.Xr ssh 1 |
looks at these variables and uses them to establish a connection to the agent. |
looks at these variables and uses them to establish a connection to the agent. |