Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:ssh [2013/11/17 22:26] – Nico | public:ssh [2023/06/21 22:30] (current) – fix code tag bug Nico | ||
---|---|---|---|
Line 46: | Line 46: | ||
* install some proxy software (i.e., Squid) | * install some proxy software (i.e., Squid) | ||
* connect to the server, and map a port to the proxy' | * connect to the server, and map a port to the proxy' | ||
+ | |||
+ | |||
< | < | ||
ssh -R8181: | ssh -R8181: | ||
</ | </ | ||
* once connected, enter: | * once connected, enter: | ||
+ | |||
< | < | ||
export http_proxy=http:// | export http_proxy=http:// | ||
Line 74: | Line 77: | ||
" | 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:// |