Using a proxy for ssh connections based on netcat

Original link:


Sometimes, we need to forward our ssh connection through a proxy, For example, you want to connect your cloud server through socks5 proxy. When you try to specify a proxy by executing export all_proxy=socks5:// command through terminal, you will find that it does not take effect for ssh connection. Fortunately, netcat can easily achieve your purpose.

This article is reprinted from:
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.