Update 'lib/html/index.html' #31

Merged
Ghost merged 1 commits from :rachel1 into master 2019-05-18 15:34:08 +00:00

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>
Review

another test comment

another test comment
<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>
Outdated
Review

This is a test of commenting

This is a test of commenting
<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 />

~/telebit ssh auto enables you to connect to your computer with ssh-over-https from a different computer

~/telebit ssh other.telebit.xyz is what you would run from another computer to connect back to another one you've installed ssh on

I think we should focus on using http (https) to share files and folders and move the ssh stuff into its own section, for example:

<details>
<summary>SSH (over HTTPS)</summary>
...
</details>
`~/telebit ssh auto` enables you to connect _to_ your computer with ssh-over-https _from_ a different computer `~/telebit ssh other.telebit.xyz` is what you would run from another computer to connect back to another one you've installed ssh on I think we should focus on using http (https) to share files and folders and move the ssh stuff into its own section, for example: ``` <details> <summary>SSH (over HTTPS)</summary> ... </details> ```
<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
Review

Should we update the language to say something like "stop sharing"? Or do you think this is clear enough?

Should we update the language to say something like "stop sharing"? Or do you think this is clear enough?
Review

Hey,

I'm just seeing this now for some reason. Yeah, that's a good point. I'll plan to add that with the next round of edits. Does that sound good?

Hey, I'm just seeing this now for some reason. Yeah, that's a good point. I'll plan to add that with the next round of edits. Does that sound good?
~/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>

SSH can be used to access files and folders, but it's primary purpose is to run commands and control the computer. When you open terminal and ssh into another computer, you literally run the commands on that computer's terminal instead of yours and the output comes to your screen instead of showing up on that screen. It's a remote desktop.

SSH _can_ be used to access files and folders, but it's primary purpose is to run commands and _control_ the computer. When you open terminal and ssh into another computer, you literally run the commands on _that_ computer's terminal instead of yours and the output comes to _your_ screen instead of showing up on _that_ screen. It's a remote desktop.
<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>