aboutsummaryrefslogtreecommitdiff
path: root/doc/forwarding.dox
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-10-27 23:31:53 -0400
committerAndreas Schneider <asn@cryptomilk.org>2018-10-28 12:15:02 +0100
commit963c3077a401794f62b0e19be4cbb2eabc6c38a2 (patch)
tree41579740058478724352ea38dacb89bc18d4b27b /doc/forwarding.dox
parenta2807474621e51b386ea26ce2a01d2b1aa295c7b (diff)
downloadlibssh-963c3077a401794f62b0e19be4cbb2eabc6c38a2.tar.gz
libssh-963c3077a401794f62b0e19be4cbb2eabc6c38a2.tar.xz
libssh-963c3077a401794f62b0e19be4cbb2eabc6c38a2.zip
doc: fix up various typos and trailing whitespace
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'doc/forwarding.dox')
-rw-r--r--doc/forwarding.dox16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/forwarding.dox b/doc/forwarding.dox
index be4ab94e..bb93c7b1 100644
--- a/doc/forwarding.dox
+++ b/doc/forwarding.dox
@@ -4,7 +4,7 @@
Port forwarding comes in SSH protocol in two different flavours:
direct or reverse port forwarding. Direct port forwarding is also
-named local port forwardind, and reverse port forwarding is also called
+named local port forwarding, and reverse port forwarding is also called
remote port forwarding. SSH also allows X11 tunnels.
@@ -23,15 +23,15 @@ Mail client application Google Mail
5555 (arbitrary) |
| 143 (IMAP2)
V |
- SSH client =====> SSH server
+ SSH client =====> SSH server
Legend:
---P-->: port connexion through port P
+--P-->: port connections through port P
=====>: SSH tunnel
@endverbatim
A mail client connects to port 5555 of a client. An encrypted tunnel is
established to the server. The server connects to port 143 of Google Mail (the
-end point). Now the local mail client can retreive mail.
+end point). Now the local mail client can retrieve mail.
@subsection forwarding_reverse Reverse port forwarding
@@ -51,7 +51,7 @@ Example of use of reverse port forwarding:
SSH client <===== SSH server
Legend:
---P-->: port connexion through port P
+--P-->: port connections through port P
=====>: SSH tunnel
@endverbatim
In this example, the SSH client establishes the tunnel,
@@ -148,9 +148,9 @@ To do reverse port forwarding, call ssh_channel_listen_forward(),
then ssh_channel_accept_forward().
When you call ssh_channel_listen_forward(), you can let the remote server
-chose the non-priviledged port it should listen to. Otherwise, you can chose
-your own priviledged or non-priviledged port. Beware that you should have
-administrative priviledges on the remote server to open a priviledged port
+chose the non-privileged port it should listen to. Otherwise, you can chose
+your own privileged or non-privileged port. Beware that you should have
+administrative privileges on the remote server to open a privileged port
(port number < 1024).
Below is an example of a very rough web server waiting for connections on port