aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-26 11:47:05 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-26 12:04:23 +0200
commit0df1b377b8236e729afcc6eb4da73204b7c34a26 (patch)
tree2fd2811b0c290ac7c4f1193bc20f72da0b071aef /_posts
parentbind-mounts: rework the fixed UIDs part (diff)
downloadblog-0df1b377b8236e729afcc6eb4da73204b7c34a26.tar.gz
blog-0df1b377b8236e729afcc6eb4da73204b7c34a26.zip
ssh-tunnel: shorten & fix grammar
Diffstat (limited to '')
-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.