How to Enable SSH on vMA 5

If you have deployed vMA 5 in your environment you may have noticed that, unlike with vMA 4, you cannot SSH to it by default. To get SSH working you need to make a change to one of the files on your appliance.

To do so, log in to the vMA through your console connection, and run ‘sudo vi /etc/hosts.allow’. We need to add the following line: “sshd: ALL: ALLOW” as seen here:

After changing the file, we will need to restart the service – “sudo /etc/initd/sshd restart”

You should now be able to SSH into the vMA.

Related posts

VMware vSphere Virtual Machine Snapshots Explained

How to Enable SSH on All ESXi Hosts using PowerCLI

How to Install VMware Tools on Debian 11

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More