wodSSHServer ActiveX Control - RemotePort Property
      
 

Description

Holds originating port of the user.


Property type

A Long value.  


Syntax

object.RemotePort [= value]



The RemotePort Property syntax has these parts:

Part Description
object An expression evaluating to an object of type SSHUser.
value A Long value.

Remarks

RemotePort property contains Port number on user's originating computer from where he initiated connection. Although this doesn't seem like important thing, you may make a difference between users using this value. For instance, on UNIX systems root account is allowed to use ports less than 3000 while others user's are not. So, if you want to allow only privileged ports to access your server, you can check this value. It is known already at LoginPassword event.