Description
-
Fires when user tries to connect to the server.
Syntax
-
Private Sub
object_Connecting(User,
Action)
The Connecting Event syntax has these parts:
| object |
A wodSSHD object. |
| User |
A SSHUser object. Reference
to user that is trying to connect. |
| Action |
A SSHActions
enumeration, as described in settings. Action to
perform for the user - Allow means he is
allowed to connect, Deny will disconnect user
immediately. |
Settings
-
The settings for Action are:
 |
Deny |
0 |
Deny execution of the
action. |
 |
Allow |
1 |
Allow to execute
action. |
Remarks
-
This event is fired before any data is transmitted by
wodSSHD, upon new connection by some client. At this point
client's IP address is known, and User.RemoteIP is set with
that information. You should decide if you will allow the
user to continue authentication with the server, or reject
him from your server immediately.
|