Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
public:ssh [2013/11/17 22:26] – Nico | public:ssh [2013/12/09 02:12] – Multiplexing Nico | ||
---|---|---|---|
Line 74: | Line 74: | ||
" | mail -s " | " | mail -s " | ||
</ | </ | ||
+ | |||
+ | ====== Multiplexing ====== | ||
+ | |||
+ | If you make several connections to the same server, you can speed up every connection after the first one by enabling multiplexing. | ||
+ | |||
+ | * create the directory where connections' | ||
+ | |||
+ | < | ||
+ | $ mkdir -p ~/ | ||
+ | $ chmod 700 ~/ | ||
+ | </ | ||
+ | |||
+ | * Enable multiplexing for every hosts in .ssh/ | ||
+ | |||
+ | < | ||
+ | Host * | ||
+ | ControlMaster auto | ||
+ | ControlPath ~/ | ||
+ | </ | ||
+ | |||
+ | Warning: This will not work with tunneled protocols or forwarded ports (See [[http:// |