hconnect

Crates.iohconnect
lib.rshconnect
version0.2.0
sourcesrc
created_at2022-03-07 13:46:35.186994
updated_at2023-12-17 11:24:00.873822
descriptionA tool to establish a TCP connection to a host behind a proxy
homepagehttps://github.com/kiron1/hconnect
repositoryhttps://github.com/kiron1/hconnect
max_upload_size
id545046
size49,589
(kiron1)

documentation

https://github.com/kiron1/hconnect

README

hconnect

hconnect can establish a TCP connection to a host behind a proxy. It is similar to corkscrew or nc -Xconnect -x..., but can authenticate against a proxy using the basic or negotiate via Kerberos (using the GSS-API Linux and macOS or SSPI on Windows) authorization method

Usage

The following command will establish a TCP connection with the host behind the proxy proxy.exmaple.com listening on port 8080. When the proxy responds with 407 Proxy Authentication Required, when the file ~/.netrc exists hconnect will consult it for an entry for the given post host. If no such entry can be found or the file does not exists, hconnect will try to generate a Kerberos token.

hconnect --proxy proxy.example.com:8080 %h:%p

SSH

Place the following fragment in your ~/.ssh/config file:

ProxyCommand hconnect --proxy proxy.example.com:8080 %h:%p

License

This source code is under the MIT license with the exceptions mentioned in "Third party source code in this repository".

Commit count: 16

cargo fmt