Use the command line for AAHC

You can access AAHC through its console with the username web-admin. Either enter the default password or make an SSH connection to access the system.

To make an SSH connection, you need to create and use an SSH pair for the web-admin user:

1

Create an SSH pair

Generate an SSH key pair:

Generate key pair
ssh-keygen -t rsa
2

Copy the public key to authorized keys

Append the public key to the authorized keys file:

Copy public key
scp id_rsa.pub ~/.ssh/authorized_keys
3

Move the private key into a remote device

Copy the private key to the remote device (example using scp):

Copy private key to remote device
scp -i id_rsa user@destination_ip:path_in_remote_device
4

Access AAHC from the remote device

SSH into the LogPoint server using the private key:

SSH into AAHC
ssh -i id_rsa_path web-admin@LogPoint_Server_IP

You can change the default password using the passwd command.

Available commands

Command
Description

change-ip

Reconfigures the IP address or the hostname of the remote AAHC server

change-rsyslogip

Changes the IP address of the remote Syslog server to which AAHC forwards its audit logs

reboot

Reboots the system

poweroff

Turns off the system

install-patch <patch_file>

Installs the latest version of AAHC over the previous version

revert-patch

Reverts to the last version of AAHC

start-support

Starts the support connection

stop-support

Stops the support connection

ifconfig tap0

Displays the support IP after starting the support connection

change-date

Changes the date of AAHC server and restarts the docker

spectre2-fix enable/disable

Enables or disables the Spectre 2 fix for AAHC

meltdown-fix enable/disable

Enables or disables the Meltdown fix for AAHC

reset-password

Resets the admin password to default

unlock-useradmin

Unlocks the admin user

db-backup

Takes backup of AAHC's configuration data and reports

snmpwalk -v2c -c <community-string> <aahc_server_ip> .OID

Syntax for snmpwalk via SNMPv2

change-snmpv2-cstring

Changes the community strings

legacy-snmp enable

Enables the SNMP v2

legacy-snmp disable

Disables the SNMP v2

circle-exclamation

Last updated

Was this helpful?