🖥 SSH cheat sheet: port forwarding, SOCKS proxy and hidden console
A modest utility hides a powerful routing layer.
Local (-L) and remote (-R) pass bypass the limitations of loop interfaces. The dynamic port (-D) turns the session into a SOCKS proxy, and redirection (-A) through jump servers (-J) eliminates copying keys to intermediate nodes.
- The hidden console (~?) helps to modify the parameters on the fly, and the conditional logic of Match in ~/.ssh/config helps to automate the branching of routes.
habr.com
A modest utility hides a powerful routing layer.
Local (-L) and remote (-R) pass bypass the limitations of loop interfaces. The dynamic port (-D) turns the session into a SOCKS proxy, and redirection (-A) through jump servers (-J) eliminates copying keys to intermediate nodes.
- The hidden console (~?) helps to modify the parameters on the fly, and the conditional logic of Match in ~/.ssh/config helps to automate the branching of routes.
ÐзнÑÑиÑелÑно подÑобное ÑÑководÑÑво по SSH (лиÑÑ Ñе аÑпекÑÑ, коÑоÑÑе Ñ Ð½Ð°ÑÐ¾Ð¶Ñ Ð¿Ð¾Ð»ÐµÐ·Ð½Ñми)
Ð, вам нÑавиÑÑÑ SSH? РпеÑеÑиÑлиÑе-ка вÑе Ñлаги! ÐÑивеÑÑÑвÑÑ ÐÑе Ð¼Ñ Ð²Ð¸Ð´ÐµÐ»Ð¸ ÑÑи кÑаÑивÑе ÑÑÐµÐ¼Ñ , демонÑÑÑиÑÑÑÑие, как в SSH ÑÑÑÑоен пÑобÑÐ¾Ñ Ð¿Ð¾ÑÑов. Ðо, еÑли Ð¼Ñ Ñ Ð²Ð°Ð¼Ð¸ мÑÑлим ÑоÑÑ Ð±Ñ Ð½ÐµÐ¼Ð½Ð¾Ð³Ð¾...