Update 'lib/html/index.html'

This commit is contained in:
fountainheadllc 2019-05-17 16:09:23 +00:00
parent de2290dd3e
commit 19a42a596c
1 changed files with 8 additions and 6 deletions

View File

@ -51,9 +51,10 @@
<div> <div>
<h2>You've claimed <span class="js-servername">{{servername}}</span></h2> <h2>You've claimed <span class="js-servername">{{servername}}</span></h2>
<p>Here's some ways you can use Telebit via Terminal or other Command Line Interface:</p> <p>Here are some ways you can use Telebit via Terminal or other Command Line Interface:</p>
<div class="code-block"> <div class="code-block">
<pre><code>~/telebit ssh auto # allows you to connect to your computer with ssh-over-https from a different computer</code></pre> <br />
<pre><code>~/telebit ssh auto # allows you to connect to your computer with <br /> ssh-over-https from a different computer</span></code></pre>
<pre><code>~/telebit http ~/Public # serve a public folder <pre><code>~/telebit http ~/Public # serve a public folder
~/telebit http 3000 # forward all https traffic to localhost:3000 ~/telebit http 3000 # forward all https traffic to localhost:3000
~/telebit http none # remove all https handlers</code></pre> ~/telebit http none # remove all https handlers</code></pre>
@ -61,9 +62,11 @@
</div> </div>
<p>And remember you can <em>always</em> tunnel <strong>SSH over HTTPS</strong>, <p>And remember you can <em>always</em> tunnel <strong>SSH over HTTPS</strong>,
even while you're using it for something else:</p> even while you're using it for something else:</p>
<p>&nbsp;</p>
<details> <details>
<summary> <p><summary><strong>Here are some examples for those of you that want to access files and folders remotely. </strong></summary></p>
<p><strong>Here are some examples for those of you that want to access files and folders remotely. This function allows you to connect one computer to another computer you also have SSH on.</strong></p> <p><strong>This function allows you to connect one computer to another computer you also have SSH on.</strong></p>
<div class="code-block"><pre><code>~/telebit ssh <span class="js-servername">{{servername}}</span></code></pre> <div class="code-block"><pre><code>~/telebit ssh <span class="js-servername">{{servername}}</span></code></pre>
<br> <br>
- or - - or -
@ -73,7 +76,6 @@
ssh -o ProxyCommand="$proxy_cmd" <span class="js-servername">{{servername}}</span></code></pre> ssh -o ProxyCommand="$proxy_cmd" <span class="js-servername">{{servername}}</span></code></pre>
</div> </div>
<pre><code>ssh -o ProxyCommand='openssl s_client -connect %h:443 -servername %h -quiet' <span class="js-servername">{{servername}}</span></code></pre> <pre><code>ssh -o ProxyCommand='openssl s_client -connect %h:443 -servername %h -quiet' <span class="js-servername">{{servername}}</span></code></pre>
</summary>
</details> </details>
<!--div class="js-port" hidden> <!--div class="js-port" hidden>
<h2>You've claimed port <span class="js-serviceport">{{serviceport}}</span></h2> <h2>You've claimed port <span class="js-serviceport">{{serviceport}}</span></h2>
@ -90,4 +92,4 @@ ssh <span class="js-servername">{{servername}}</span> -p <span class="js-service
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
</html> </html>