more ssh proxy examples

This commit is contained in:
AJ ONeal 2018-09-11 01:58:49 -06:00
parent 0361e5762d
commit 8b641db470
1 changed files with 12 additions and 0 deletions

View File

@ -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