sosh
sosh is a lightweight command‑line client that implements the SOCKS protocol, primarily used to forward network connections through a SOCKS server. The program was originally developed for the NetBSD operating system and later made available for a variety of Unix‑like platforms, including FreeBSD, OpenBSD, and Linux. The source code is distributed under the BSD‑3 Clause license, which permits both free use and commercial modification.
The primary function of sosh is to act as an intermediary between a local application and a
Typical usage patterns involve invoking sosh from a shell and redirecting standard input and output through
```
sosh -L 8080:remotehost:80 -p 1080 localhost
```
or instruct a local program to use the proxy by setting the SOCKS5 proxy settings to localhost
Sosh has been incorporated into several larger networking projects as a lightweight dependency, and its straightforward