wodSSHServer ActiveX Control - BindIP Property
      
 

Description

Holds IP address used for listening.


Property type

A String value.  Represents IP address of local interface.


Syntax

object.BindIP [= value]



The BindIP Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSSHD.
value A String value.

Remarks

When you don't want your SSH server to be publicly accessible (during testing or implementation, for instance) you can make it use only one of your network interfaces. For instance, if you have local network on IP address 192.168.1.1, and one interface is connected to internet with IP 100.101.102.103, you can make only users from your local network access SSH server by setting


     wodSSHD1.BindIP = "192.168.1.1"

As a result, connections from Internet will be denied (by your OS, not application) and furthermore you will be allowed to run some other SSH server on same port - on different interface.
 

If you want your server to be accessible only from your computer, set it up like this:

     wodSSHD1.BindIP = "127.0.0.1"

To make SSH server bind to all interfaces, just leave this property empty. You can also specify IPv6 addresses when UseIPv6 is set to True.