mirror of
https://git.coolaj86.com/coolaj86/sclient.js
synced 2025-02-21 15:28:04 +00:00
more ssh proxy examples
This commit is contained in:
parent
0361e5762d
commit
8b641db470
12
README.md
12
README.md
@ -30,6 +30,18 @@ cURL
|
|||||||
$ curl http://localhost:3000 -H 'Host: whatever.com'
|
$ curl http://localhost:3000 -H 'Host: whatever.com'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Inverse SSH proxy (ssh over https):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ sclient --ssh user@example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
(this is the same as a normal SSH Proxy, just easier to type):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ssh -o ProxyCommand="sclient %h" user@example.com
|
||||||
|
```
|
||||||
|
|
||||||
A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`.
|
A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`.
|
||||||
|
|
||||||
Install
|
Install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user