Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
public:ssh-usage-linux [2009-10-01 08:07] – Adriaan Renting | public:ssh-usage-linux [2009-10-01 08:08] – Adriaan Renting | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Persistent agent ==== | + | ====== Advanced Linux tricks for ss-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 83: | Line 86: | ||
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 it's usage ==== | + | ===== Note of caution on it's usage ===== |
Note that the permissions on the socket file prevent people from accessing your agent - but on a regular Unix system the ' | Note that the permissions on the socket file prevent people from accessing your agent - but on a regular Unix system the ' | ||