2
1
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:
AJ ONeal 2018-09-11 01:58:49 -06:00
parent 0361e5762d
commit 8b641db470

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