From d390df175a483ccbdb6678dcff357f48d2c0eba6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 12 Sep 2018 00:28:28 -0600 Subject: [PATCH] v1.4.1: update README --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8f07bca..8003a34 100644 --- a/README.md +++ b/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] +sclient [flags] [ssh|rsync] [local] ``` * flags * `-k, --insecure` ignore invalid TLS (SSL/HTTPS) certificates * `--servername ` 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)