snipt

Ctrl+h for KB shortcuts

Text only

SSH Tunnel

1
2
3
4
5
ssh -C2qTnN -L local_port:localhost:remote_port [email protected]_host

ssh -f [email protected] -L 2000:personal-server.com:25 -N

ssh -D [bind_address:]port
https://snipt.net/embed/c6f9f0107c73b49ee588790ee2445d2c/
/raw/c6f9f0107c73b49ee588790ee2445d2c/
c6f9f0107c73b49ee588790ee2445d2c
text
Text only
5
2019-06-21T10:04:56
True
False
False
May 21, 2013 at 07:56 AM
/api/public/snipt/35741/
ssh-tunnel-3
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>ssh -C2qTnN -L local_port:localhost:remote_port [email protected]_host </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>ssh -f [email protected] -L 2000:personal-server.com:25 -N </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a>ssh -D [bind_address:]port </span></pre></div> </td></tr></table>
ssh, tunnel

Text only

X11 - 2nd Session

X :2.0 vt2 2>&1 >/dev/null & xterm -display :2.0 -e startfluxbox
https://snipt.net/embed/8184066ee6774bb75bd61966a98138ae/
/raw/8184066ee6774bb75bd61966a98138ae/
8184066ee6774bb75bd61966a98138ae
text
Text only
1
2019-06-23T00:21:27
True
False
False
/api/public/snipt/35740/
x11-2nd-session
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>X :2.0 vt2 2&gt;&amp;1 &gt;/dev/null &amp; xterm -display :2.0 -e startfluxbox </span></pre></div> </td></tr></table>
display, x, x11