mirror of
https://git.coolaj86.com/coolaj86/sclient.js
synced 2025-02-20 14:58: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'
|
||||
```
|
||||
|
||||
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`.
|
||||
|
||||
Install
|
||||
|
Loading…
x
Reference in New Issue
Block a user