technology/linux/general/ssh.md
... ...
@@ -13,6 +13,21 @@ ssh -A -t -l user webserver.dmz \
13 13
-L 8080:localhost:8080
14 14
```
15 15
16
+open tunnel on port 443 (hide as https) - requires sudo [background][]
17
+```
18
+sudo ssh -o ServerAliveInterval=60 -D443 -l pyratebeard -i ~/lib/key/ssh_tunnel -N -C -q -t -4 -f ftp.pyratebeard.net
19
+```
20
+- `-o ServerAliveInterval=60` -
21
+- `-D443` -
22
+- `-l pyratebeard` -
23
+- `-i ~/lib/key/ssh_tunnel` -
24
+- `-N`
25
+- `-C`
26
+- `-q`
27
+- `-t`
28
+- `-4`
29
+- `-f`
30
+
16 31
## X11 forwarding
17 32
```
18 33
ssh -X user@host
... ...
@@ -23,4 +38,5 @@ ssh -X user@host
23 38
[ssh][] guide
24 39
25 40
[tunnel]: http://digitalcrunch.com/linux/how-to-use-an-ssh-tunnel-through-a-jump-host/
41
+[background]: https://ma.ttias.be/socks-proxy-linux-ssh-bypass-content-filters/
26 42
[ssh]: http://lackof.org/taggart/hacking/ssh/