Enable SSH from CLI console conncetion
2 years ago
Originally Published: 2015-09-07
Article Number
000067576
Applies To
  • AM 8.0
  • AM 8.1
Issue
  • Customer is not able to access the Operations Console, yet needs to enable SSH.
  • Customer has connection to vmware console, or physical access to the hardware appliance.
Tasks
  • login to the appliance via console connection.
  • Enable SSH by starting the sshd service, then adding a rule in the iptables.
Resolution
Commands to type in the bash shell
  • sudo su - root
  • iptables -I INPUT 2 -p tcp -m tcp --dport 22 -j ACCEPT
  • service sshd start
After Operations Console is up normally, please make sure to delete the iptables rule that we created.
  • iptables -D INPUT 2