The ServerSettings type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllowedAuthenticationMethods |
Gets or sets authentication methods that server users can use by default.
This can be overriden by PreAuthentication event handler.
Please note that authentication methods must be enabled at the SSH level
using Settings / AuthenticationMethods as well.
| |
Banner |
Gets or sets the banner message announced to the client before authentication.
| |
IgnoreKeepAlive |
Gets or sets a value indicating whether keep-alive packets are ignored
when determining whether the client session has been idle.
| |
KeepAlivePeriod |
Gets or sets keep-alive period (in seconds). If the session has been inactive for the specified period, a a keep-alive packet is send to ensure it stays active.
| |
KeepSessionsAlive |
Gets or sets a value indicating whether to keep active sessions running when the server is stopped.
| |
MaxAuthenticationAttempts |
Gets or sets maximum number of authentication retry attempts on a single session.
| |
MaxIdleDuration |
Gets or sets maximum duration of an idle session (in seconds) before it is closed by the server.
| |
MaxPendingConnectionsQueueLength |
Specifies the maximum length of the pending connections queue.
| |
MaxSessionDuration |
Gets or sets maximum duration of a session (in seconds). When this duration expires, a session renegotiation occurs.
| |
MaxSessionTransferredBytes |
Gets or sets maximum number of bytes transferred during a session. When this value is reached, a session renegotiation occurs.
|