Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encryption
- EncryptionList
- ExitSignal
- ExitStatus
- FingerPrintType
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyFowarding
- Login
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StripANSI
- Subsystem
- TerminalType
- Timeout
- Version
- Events
- How to get support?
ProxyHostname property
Specifies the hostname of proxy to use.
Type
StringSyntax
- C#
- VB.NET
String ProxyHostname {get; set; };
Property ProxyHostname As String
Remarks
When the wodSSH.NET client is unable to establish a direct connection (not connected directly to the internet, for example), the proxy option can be used. There are several types of proxies supported by the wodSSH.NET component. When any proxy is used, this property specifies the hostname for the remote proxy. Be careful, though. This property is not same as the Hostname property.When a connection to a proxy is established, wodSSH.NET will issue a request to the proxy to open a remote connection to the hostname specified by the ProxyHostname property.
For example,
wodSSH1.ProxyType = ProxyTypes.ProxyWEBStandard;
wodSSH1.ProxyHostname = "proxy.server.com";
wodSSH1.ProxyPort = 80;
wodSSH1.Connect ("linux.weonlydo.com"...)
would connect to WeOnlyDo's test SSH server, but through the proxy 'proxy.server.com'.