commit 60617ac5a2f20819d1e69a058b172f0fda41197f parent fa4999d222afa562c43d41f739907361c46c7f0e Author: pyratebeard <root@pyratebeard.net> Date: Sat, 1 Dec 2018 15:37:37 +0000 running tunnel in background Diffstat:
M | technology/linux/general/ssh.md | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/technology/linux/general/ssh.md b/technology/linux/general/ssh.md @@ -13,6 +13,21 @@ ssh -A -t -l user webserver.dmz \ -L 8080:localhost:8080 ``` +open tunnel on port 443 (hide as https) - requires sudo [background][] +``` +sudo ssh -o ServerAliveInterval=60 -D443 -l pyratebeard -i ~/lib/key/ssh_tunnel -N -C -q -t -4 -f ftp.pyratebeard.net +``` +- `-o ServerAliveInterval=60` - +- `-D443` - +- `-l pyratebeard` - +- `-i ~/lib/key/ssh_tunnel` - +- `-N` +- `-C` +- `-q` +- `-t` +- `-4` +- `-f` + ## X11 forwarding ``` ssh -X user@host @@ -23,4 +38,5 @@ ssh -X user@host [ssh][] guide [tunnel]: http://digitalcrunch.com/linux/how-to-use-an-ssh-tunnel-through-a-jump-host/ +[background]: https://ma.ttias.be/socks-proxy-linux-ssh-bypass-content-filters/ [ssh]: http://lackof.org/taggart/hacking/ssh/