v1.4.1: update README

This commit is contained in:
AJ ONeal 2018-09-12 00:29:38 -06:00
parent d095381a40
commit 7add115e5f
2 changed files with 9 additions and 4 deletions

View File

@ -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 &lt;remote&gt; 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)

View File

@ -1,6 +1,6 @@
{
"name": "sclient",
"version": "1.4.0",
"version": "1.4.1",
"description": "Secure Client for exposing TLS (aka SSL) secured services as plain-text connections locally. Also ideal for multiplexing a single port with multiple protocols using SNI.",
"main": "index.js",
"homepage": "https://telebit.cloud/sclient/",