aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_posts/2020-02-24-ssh-tunnel-windows.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/_posts/2020-02-24-ssh-tunnel-windows.md b/_posts/2020-02-24-ssh-tunnel-windows.md
index 60628df..f169b8d 100644
--- a/_posts/2020-02-24-ssh-tunnel-windows.md
+++ b/_posts/2020-02-24-ssh-tunnel-windows.md
@@ -8,18 +8,18 @@ immediately blown away by how useful it can be.
Basically, to use SSH tunneling (a.k.a. port forwarding) you need to have a SSH
client (`ssh`) with an access to a SSH server.
-You can then access any port on any host your SSH server has access to.
+You can then access any host your SSH server has access to.
It works like this:
-* your SSH client establishes a connection to the SSH server,
+* the client establishes a connection to the SSH server,
* the client asks the server to forward incoming requests to the destination
host,
-* the client listens to the proxy port on the local machine, and forwards
+* the client listens on a proxy port on the local machine, and forwards
requests to the SSH server.
Say, you have access to SSH server `gateway` on port 22, and you want to gain
access to HTTPS server `dest` on port 443, which is only accessible from the
-network both it and the SSH server belong to.
+the SSH server.
You can then run something like
{% include jekyll-theme/shell.html cmd='ssh -L 4433:dest:443 gateway -p 22' %}
@@ -32,8 +32,8 @@ You can make a _reverse_ tunnel, allowing you to give access to any host your
client computer has access to, via a remote SSH server.
It works like this:
-* your SSH client establishes a connection with the SSH server,
-* the client asks the server to listen to a port of your choosing and forward
+* your SSH client establishes a connection to the SSH server,
+* the client asks the server to listen on a port of your choosing and forward
incoming requests to the client,
* the client forwards incoming requests to the destination host.