| Dart.PowerTCP.Ssh Namespace : Connection Class (Dart.PowerTCP.Ssh) |
![]() Identification | The identifier presented to the SSH-2 server. |
![]() AvailableCiphers | The list of supported cipher algorithms by this implementation. |
![]() AvailableMACs | The list of supported MAC algorithms by this implementation. |
![]() AvailableServerHostKeyAlgorithms | The list of supported server host key algorithms by this implementation. |
Client2ServerCiphers | The currently used ciphers for the client to server direction, in order of preference. |
Client2ServerMACs | The currently used macs for the client to server direction, in order of preference. |
ConnectionInfo | Returns a ConnectionInfo object containing the details of the connection. Can be called as soon as the connection has been established (successfully connected). |
DHGexParameters | The parameters for the diffie-hellman group exchange. Default values are defined in the DHGexParameters class. |
Hostname | The hostname that was passed to the Connect() method. |
Port | The port that was passed to the constructor. |
Proxy |
The Proxy property is used to instruct the library that the connection shall
be established through a proxy server.
Only HTTP proxies are supported at this time. |
Server2ClientCiphers | The currently used ciphers for the server to client direction, in order of preference. |
Server2ClientMACs | The currently used macs for the server to client direction, in order of preference. |
ServerHostKeyAlgorithms | The currently used host key algorithms, in order of preference. |
TcpNoDelay | Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm) on the underlying socket. |
GetRemainingAuthMethods |
After a successful connect, authentication is required. This method
can be used to tell which authentication methods are supported by the
server at a certain stage of the authentication process (for the given
username).
Note 1: the username will only be used if no authentication step was done so far (it will be used to ask the server for a list of possible authentication methods by sending the initial "none" request). Otherwise, this method ignores the user name and returns a cached method list which is based on the information contained in the last negative server response). Note 2: the server may return method names that are not supported by this implementation. This method should not be called after a successful authentication. |
IsAuthenticationComplete |
Determines whether the authentication phase is complete.
Can be called at any time. |
IsAuthenticationPartialSuccess |
Returns true if there was at least one failed authentication request and
the last failed authentication request was marked with "partial success"
by the server.
This is only needed in the rare case of SSH-2 server setups that cannot be satisfied with a single successful authentication request (i.e., multiple authentication steps are needed.) If you are interested in the details, then have a look at RFC 4252. |
IsAuthMethodAvailable |
Checks if a specified authentication method is available.
This method is actually just a wrapper for GetRemainingAuthMethods. |
OpenSession | Open a new Session on this connection. Works only after one has passed successfully the authentication step. In theory, there is no limit on the number of concurrent sessions (however, some SSH servers may impose such a limit). |
Connection Class | Dart.PowerTCP.Ssh Namespace
Send comments on this topic.
Documentation version 1.0.0.0.
© 2008 Dart Communications. All rights reserved.