Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
public:ssh-usage-linux [2009-10-01 08:06] – created Adriaan Renting | public:ssh-usage-linux [2009-10-05 21:30] – John Swinbank | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Note that the permissions on the socket file prevent people from accessing your agent - but on a regular Unix system the ' | + | ====== Advanced Linux tricks for ssh-agent ====== |
- | === Persistent agent === | + | ===== Persistent agent ===== |
In theory, you only need to start up the agent once on the host you use to connect to other systems (e.g. your laptop) and be done with it; all requests from all your shells may be handled by the very same agent. However, this requires the proper setting of the environmental variables. Alas, there is no simple way to find out which socket an agent uses. But a little script magic will do the trick. If you use '' | In theory, you only need to start up the agent once on the host you use to connect to other systems (e.g. your laptop) and be done with it; all requests from all your shells may be handled by the very same agent. However, this requires the proper setting of the environmental variables. Alas, there is no simple way to find out which socket an agent uses. But a little script magic will do the trick. If you use '' | ||
Line 84: | Line 85: | ||
Note that it is possible to FORCE the name of the socket which '' | Note that it is possible to FORCE the name of the socket which '' | ||
+ | |||
+ | ===== Note of caution on its usage ===== | ||
+ | |||
+ | Note that the permissions on the socket file prevent people from accessing your agent - but on a regular Unix system the ' | ||
+ | |||
+ |