How to enable SSH

Follow the steps below to enable SSH:

ESMC VA 7 - see Enable/Disable remote access

ERA VA 6.x -  SSH is enabled by default.

 

SSH troubleshooting

Open the terminal and run the following commands:

sudo service sshd status - verify that SSH is running. If SSH is not running, you can start it: service sshd start

sudo iptables -S  - if port 22 is open, you will see the following line: -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT. To add port 22 to iptables, run the command below:
sudo iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT