The ProxyType property specifies the type of proxy server
that the client is connecting to. The supported proxy server types
are as follows:
Value |
Constant |
Description |
0 |
sshProxyNone |
A direct connection will be established with the
server. |
1 |
sshProxyHttp |
Establish a connection through a proxy server using the
Hypertext Transfer Protocol. |
2 |
sshProxyTelnet |
Establish a connection through a proxy server using the
Telnet protocol. |
If the sshProxyNone proxy type is specified, then a direct
connection is established to the server and the proxy-related
properties are ignored. If a port number for the proxy server is not
explicitly specified, then the default port number for the proxy
server type will be used. If the client is connecting through an HTTP
proxy, the connection will be established on port 80 by default. If
the client is connecting through a Telnet proxy, the connection will
be established on port 23 by default.