Binding SSH service to a specific Network Interface
Procedure
-
Edit the
/ssmc/conf/security_config.properties
file. -
Locate and set
ssmc.sshd.service.network
property to the desired network interface value (refer the below table).The following table gives the names assigned to the network interfaces on various hypervisor environments that are supported:
Hypervisor Type Network Interface 1 Network Interface 2 VMware ESXi ens160 ens192 Microsoft Hyper-V eth0 eth1 For example, to make SSH service bind to the second NIC in an ESXi environment, set the property as follows:
ssmc.sshd.service.network=ens192
-
Run the following command to configure the network:
sudo /ssmc/bin/config_security.sh -o ssh_service_network -a set -f