sclient

ssl unwrapper for Windows, Mac, and Linux

a poor man's alternative to openssl s_client, stunnel, socat for the simple use case of connecting a client application that doesn't support tls+sni through a secure connection, https proxy, or sni multiplexer (think telnet, netcat, ssh, openvpn, etc).

Usage

$ sclient [-k] <remote> <local>

Flags

Arguments

Examples

SSH

$ ssh -o ProxyCommand="sclient %h:443" jon.telebit.io

This is useful to be able to connect to SSH even from behind a corporate packet-inspection firewall. It can also be used to multiplex and relay multiple ssh connections through a single host.

Telnet

$ sclient example.com:443 localhost:3000
> [listening] example.com:443 <= localhost:3000
$ telnet localhost 3000

stdin/stdout

$ sclient whatever.com -
> (connected to whatever.com:443 and reading from stdin)
Use just like netcat or telnet. A manual HTTP request, for example:
> GET / HTTP/1.1
> Host: whatever.com
> Connection: close
>  

Downloads (standalone) v1.1

Source Code

sclient is maintained simultaneously in go and node.js