pconnect − Proxy helper for nxssh
pconnect [-dnhs45] [-R resolve] [-p local-port] [-H [user@]proxy-server[:port]] [-S [user@]socks-server[:port]] host port
pconnect provides an external proxy command for nxssh.
-d |
Enable debug output. | ||
-n |
Connect directly without a proxy. | ||
-h |
Connect via a HTTP proxy. | ||
-s |
Connect via a SOCKS proxy. | ||
-4 |
Use SOCKS4 protocol. Valid only, if using a SOCKS proxy. | ||
-5 |
Use SOCKS5 protocol. Valid only, if using a SOCKS proxy. |
-R resolve
Use resolve method. Valid only, if using a SOCKS proxy. Possible values for resolve are local, remote and both. If an IP address is specified, that address is used as nameserver.
-p local-port
Listen on local-port instead of forwarding stdin and stdout.
-H |
Specify hostname and optionally port and user for connecting to a HTTP proxy. The default for port is 80. The default for user is none. | ||
-S |
Specify hostname and optionally port and user for connecting to a SOCKS proxy. The default for port is 1080. The default for user is none. |
HTTP_PROXY
If set, -H can be omitted.
SOCKS5_SERVER, SOCKS4_SERVER, SOCKS_SERVER
If set, -S can be omitted.
SOCKS5_RESOLVE, SOCKS4_RESOLVE, SOCKS_RESOLVE
Can be set to the same value like the -R parameter.
SOCKS5_USER, CONNECT_USER, LOGNAME, USER
The username for SOCKS5 authentication. Variables are checked in the specified sequence.
SOCKS5_PASSWORD
If set, this is used for SOCKS5 authentication.
HTTP_PROXY_USER, CONNECT_USER, LOGNAME, USER
The username for HTTP proxy authentication. Variables are checked in the specified sequence.
HTTP_PROXY_PASSWORD, CONNECT_PASSWORD
If set, this is used for HTTP proxy authentication.
SSH_ASKPASS
If set, specifies the full path to a GUI program for fetching a password from the user.
DISPLAY
Must be set on UNIX machines, in order to facilitate ssh-askpass.
None so far.
Fritz Elfert <felfert at users dot sourceforge dot net>
ssh(1)