wodSSHServer ActiveX Control - SSHUser Object
    
 
Description

SSHUser Class


Remarks

In this object you will find all known information about the referenced user. Some of this information is filled during connecting to SSH server, some of them later, and some are free to be filled with your information.

No matter if wodSSHD or yourself have set it, you are free to change any of those information if you need to.

For example, you can check Login and Password that user entered, and then change it to 'Guest' and pass to wodSSHD (make sure UseNTAuthentication is set to True) to login user with Guest privileges. This way you can have user's using server in non-privileged environment with your custom Login/Password combinations.


Members
Methods
Disconnect Disconnects user for the server.
Receive Receives data from the user, as string expression.
ReceiveData Receives data from the user, as byte array.
Send Sends string expression to the user.
SendData Sends array of bytes to the user.

Properties
AuthChallenge Read-write property Holds challenge for keyboard-interactive authentication.
BytesDownload Read-write property Holds total number of bytes user downloaded.
BytesUpload Read-write property Holds total number of bytes user uploaded.
Domain Read-write property Holds domain information for the user.
Environment Read-write property Holds environment variables for connected user.
ExitDescription Read-write property Holds text description of exit reason.
ExitReason Read-write property Holds reason for disconnection provided by remote side.
HomeDir Read-write property Holds home directory when external service is started.
Index Read-only property Returns index of the user.
LocalPFCount Read-only property Holds total number of local port forwardings user is currently using.
Login Read-write property Holds login information.
LoginAttempts Read-write property Returns number which represents how many Login attempts were made by user.
Password Read-write property Holds user's password.
RemoteIP Read-write property Holds originating IP address of the user.
RemotePFCount Read-only property Holds total number of remote port forwardings user is currently using.
RemotePort Read-write property Holds originating port of the user.
Service Read-only property Holds service type for a request service.
ServicesCount Read-only property Holds total number of services user is currently using.
State Read-only property Holds current user's state.
Tag Read-write property Tag for misc usage.
TimeConnected Read-write property Holds time information when user connected.
UID Read-only property Returns unique ID for the user since server started.
UseNTAuthentication Read-write property Determines if native NT authentication is used for user's access.