If you deploy vMA 5.0 within your virtual infrastructure will find the first time you try to access it by SSH that the appliance is continuously rejecting your connections.

Try to check if SSH is enabled and running and will se that everything is OK.

 

允许vMA的SSH访问_vMA

So you will be asking yourself, what the hell is going on? BTW restarting the service doesn’t help either.

The key to fix this issue is in the hosts.deny and hosts.allow file. In Unix and Linux systems this files are used by the TCP Wrapper daemon (tcpd) to decide whether or not to accept an incoming connection.

If you look into host.deny will see that everything is denied by default.

 

允许vMA的SSH访问_vMA_02

sudo vi /etc/hosts.allow

Add the following line to the host.allow file.

sshd: ALL: ALLOW

Now you can access the appliance via SSH.

 

允许vMA的SSH访问_vMA_03