v1.4.1: update README
This commit is contained in:
parent
d095381a40
commit
d390df175a
11
README.md
11
README.md
|
@ -33,7 +33,7 @@ $ curl http://localhost:3000 -H 'Host: whatever.com'
|
|||
Inverse SSH proxy (ssh over https):
|
||||
|
||||
```bash
|
||||
$ sclient --ssh user@example.com
|
||||
$ sclient ssh user@example.com
|
||||
```
|
||||
|
||||
(this is the same as a normal SSH Proxy, just easier to type):
|
||||
|
@ -42,6 +42,12 @@ $ sclient --ssh user@example.com
|
|||
$ ssh -o ProxyCommand="sclient %h" user@example.com
|
||||
```
|
||||
|
||||
Inverse rsync proxy (rsync over https):
|
||||
|
||||
```bash
|
||||
$ sclient rsync user@example.com:path/ path/
|
||||
```
|
||||
|
||||
A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`.
|
||||
|
||||
Install
|
||||
|
@ -63,13 +69,12 @@ Usage
|
|||
=====
|
||||
|
||||
```bash
|
||||
sclient [flags] <remote> <local>
|
||||
sclient [flags] [ssh|rsync] <remote> [local]
|
||||
```
|
||||
|
||||
* flags
|
||||
* `-k, --insecure` ignore invalid TLS (SSL/HTTPS) certificates
|
||||
* `--servername <string>` spoof SNI (to disable use IP as <remote> and do not use this option)
|
||||
* `--ssh proxy` proxy ssh over https (_inverse_ ssh proxy, like stunnel)
|
||||
* remote
|
||||
* must have servername (i.e. example.com)
|
||||
* port is optional (default is 443)
|
||||
|
|
Loading…
Reference in New Issue