add missing -servername to ssh over https docs
This commit is contained in:
parent
c77d6686ea
commit
5120a4db91
|
@ -49,7 +49,7 @@ Connect to your device by any of the following means:
|
||||||
|
|
||||||
SSH+HTTPS
|
SSH+HTTPS
|
||||||
ssh+https://lucky-duck-37.telebit.cloud:443
|
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://ssh.telebit.cloud:32852
|
ssh://ssh.telebit.cloud:32852
|
||||||
|
@ -210,12 +210,12 @@ telebit save # save http and tcp configuration change
|
||||||
|
|
||||||
SSH over HTTPS
|
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 over non-standard port
|
||||||
```
|
```
|
||||||
ssh slippery-bobcat-39.telebit.cloud -p 3031
|
ssh lucky-duck-42.telebit.cloud -p 3031
|
||||||
```
|
```
|
||||||
|
|
||||||
Daemon Usage
|
Daemon Usage
|
||||||
|
|
|
@ -524,7 +524,7 @@ function connectTunnel() {
|
||||||
}
|
}
|
||||||
console.info('\t' + arr[0] + '://' + arr[1] + (arr[2] ? (':' + arr[2]) : ''));
|
console.info('\t' + arr[0] + '://' + arr[1] + (arr[2] ? (':' + arr[2]) : ''));
|
||||||
if ('ssh+https' === arr[0]) {
|
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]) {
|
} else if ('ssh' === arr[0]) {
|
||||||
console.info("\tex: ssh " + arr[1] + " -p " + arr[2] + "\n");
|
console.info("\tex: ssh " + arr[1] + " -p " + arr[2] + "\n");
|
||||||
} else if ('tcp' === arr[0]) {
|
} else if ('tcp' === arr[0]) {
|
||||||
|
|
|
@ -20,7 +20,7 @@ telebit http none # remove all https handlers</code></pre>
|
||||||
</div>
|
</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>
|
<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>
|
<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>
|
<div class="js-port" hidden>
|
||||||
|
|
Loading…
Reference in New Issue