-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfb1d00
commit 659c06d
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,7 @@ and then visit [localhost:3000](http://localhost:3000/), we should see a directo | |
with $ md-tmpl -w README.md --> | ||
|
||
<!--tmpl,code=plain:echo "$ chisel --help" && go run main.go --help | sed 's#0.0.0-src (go1\..*)#X.Y.Z#' --> | ||
``` plain | ||
``` plain | ||
$ chisel --help | ||
Usage: chisel [command] [--help] | ||
|
@@ -106,7 +106,7 @@ $ chisel --help | |
|
||
|
||
<!--tmpl,code=plain:echo "$ chisel server --help" && go run main.go server --help | cat | sed 's#0.0.0-src (go1\..*)#X.Y.Z#' --> | ||
``` plain | ||
``` plain | ||
$ chisel server --help | ||
Usage: chisel server [options] | ||
|
@@ -214,7 +214,7 @@ $ chisel server --help | |
|
||
|
||
<!--tmpl,code=plain:echo "$ chisel client --help" && go run main.go client --help | sed 's#0.0.0-src (go1\..*)#X.Y.Z#' --> | ||
``` plain | ||
``` plain | ||
$ chisel client --help | ||
Usage: chisel client [options] <server> <remote> [remote] [remote] ... | ||
|
@@ -269,7 +269,7 @@ $ chisel client --help | |
client's internal SOCKS5 proxy. | ||
When stdio is used as local-host, the tunnel will connect standard | ||
input/output of this program with the remote. This is useful when | ||
input/output of this program with the remote. This is useful when | ||
combined with ssh ProxyCommand. You can use | ||
ssh -o ProxyCommand='chisel client chiselserver stdio:%h:%p' \ | ||
[email protected] | ||
|
@@ -325,11 +325,11 @@ $ chisel client --help | |
may be still verified (see --fingerprint) after inner connection | ||
is established. | ||
--tls-key, a path to a PEM encoded private key used for client | ||
--tls-key, a path to a PEM encoded private key used for client | ||
authentication (mutual-TLS). | ||
--tls-cert, a path to a PEM encoded certificate matching the provided | ||
private key. The certificate must have client authentication | ||
--tls-cert, a path to a PEM encoded certificate matching the provided | ||
private key. The certificate must have client authentication | ||
enabled (mutual-TLS). | ||
--pid Generate pid file in current working directory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -339,7 +339,7 @@ var clientHelp = ` | |
client's internal SOCKS5 proxy. | ||
When stdio is used as local-host, the tunnel will connect standard | ||
input/output of this program with the remote. This is useful when | ||
input/output of this program with the remote. This is useful when | ||
combined with ssh ProxyCommand. You can use | ||
ssh -o ProxyCommand='chisel client chiselserver stdio:%h:%p' \ | ||
[email protected] | ||
|
@@ -398,11 +398,11 @@ var clientHelp = ` | |
may be still verified (see --fingerprint) after inner connection | ||
is established. | ||
--tls-key, a path to a PEM encoded private key used for client | ||
--tls-key, a path to a PEM encoded private key used for client | ||
authentication (mutual-TLS). | ||
--tls-cert, a path to a PEM encoded certificate matching the provided | ||
private key. The certificate must have client authentication | ||
--tls-cert, a path to a PEM encoded certificate matching the provided | ||
private key. The certificate must have client authentication | ||
enabled (mutual-TLS). | ||
` + commonHelp | ||
|
||
|