![]() The remote computer listens on a network port on the local computer. Reverse SSH tunneling relies on the remote computer using the established connection to listen for new connection requests from the local computer. This means your connection to the remote computer acts as a private tunnel inside the original connection.Īnd so we arrive at the name “reverse SSH tunneling.” How Does It Work? Reverse SSH tunneling allows you to use that established connection to set up a new connection from your local computer back to the remote computer.īecause the original connection came from the remote computer to you, using it to go in the other direction is using it “in reverse.” And because SSH is secure, you’re putting a secure connection inside an existing secure connection. The answer lies in reverse SSH tunneling. You have an established connection between the two computers. That alone isn’t sufficient for your needs, however, because it doesn’t provide you with a working command-line session on the remote computer. It really doesn’t matter what the specific network issue is-this is useful whenever you can’t SSH straight to a remote computer.īut if the networking configuration on your end is straightforward, the remote computer can connect to you. That isn’t an option in the networking scenario we’re describing. Normally you’d fire up an SSH connection from the local computer and connect to the remote computer. To differentiate between the local and remote computers used in this article, the remote computer is called “howtogeek” and is running Ubuntu Linux (with purple terminal windows). The local computer is called “Sulaco” and is running Manjaro Linux (with yellow terminal windows). The computer you are going to connect to is the remote computer because it is in a different location than you. ![]() Your computer is the local computer because it is near you. How do you reach such a computer if you need to connect to it? The site they are located at may have tight firewall rules in place, or perhaps the local admin has set up complex Network Address Translation rules. Sometimes, remote computers can be hard to reach. When You’ll Want to Use Reverse SSH Tunneling ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |