add missing -servername to ssh over https docs

This commit is contained in:
AJ ONeal 2018-06-13 14:12:23 -06:00
bovenliggende 1b41498fb6
commit 94117c7edb
3 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen

Bestand weergeven

@ -49,7 +49,7 @@ Connect to your device by any of the following means:
SSH+HTTPS
ssh+https://lucky-duck-37.telebit.cloud:443
ex: ssh -o ProxyCommand='openssl s_client -connect %h:%p -quiet' lucky-duck-37.telebit.cloud -p 443
ex: ssh -o ProxyCommand='openssl s_client -connect %h:%p -servername %h -quiet' lucky-duck-37.telebit.cloud -p 443
SSH
ssh://ssh.telebit.cloud:32852
@ -210,12 +210,12 @@ telebit save # save http and tcp configuration change
SSH over HTTPS
```
ssh -o ProxyCommand='openssl s_client -connect %h:443 -quiet' slippery-bobcat-39.telebit.cloud
ssh -o ProxyCommand='openssl s_client -connect %h:443 -servername %h -quiet' lucky-duck-42.telebit.cloud
```
SSH over non-standard port
```
ssh slippery-bobcat-39.telebit.cloud -p 3031
ssh lucky-duck-42.telebit.cloud -p 3031
```
Daemon Usage

Bestand weergeven

@ -524,7 +524,7 @@ function connectTunnel() {
}
console.info('\t' + arr[0] + '://' + arr[1] + (arr[2] ? (':' + arr[2]) : ''));
if ('ssh+https' === arr[0]) {
console.info("\tex: ssh -o ProxyCommand='openssl s_client -connect %h:%p -quiet' " + arr[1] + " -p 443\n");
console.info("\tex: ssh -o ProxyCommand='openssl s_client -connect %h:%p -servername %h -quiet' " + arr[1] + " -p 443\n");
} else if ('ssh' === arr[0]) {
console.info("\tex: ssh " + arr[1] + " -p " + arr[2] + "\n");
} else if ('tcp' === arr[0]) {

Bestand weergeven

@ -20,7 +20,7 @@ telebit http none # remove all https handlers</code></pre>
</div>
<p>You can <em>always</em> use this port for <strong>SSH over HTTPS</strong>, even while you're using it for something else:</p>
<pre><code>
ssh -o ProxyCommand='openssl s_client -connect %h:443 -quiet' <span class="js-servername">{{servername}}</span></code></pre>
ssh -o ProxyCommand='openssl s_client -connect %h:443 -servername %h -quiet' <span class="js-servername">{{servername}}</span></code></pre>
<div class="js-port" hidden>