To make sure your Cardano nodes (relays and block-producer) are correctly configured, you can use an automated audit script that will do the following checks :
Cardano Node checks
Environment Variables
Systemd cardano-node file verification and parsing
Cardano startup script verification and parsing
Node operation mode (Block Producer ? Relay ?)
Topology mode
Topology configuration
KES keys expiry and rotation alert
Security and system checks
SSHD hardening
Null passwords check
Important services running
Firewalling rules extract
sysctl.conf hardening check
You can directly download the repository from your Cardano Nodes :
The script must be ran with sudo and the -E option, to include your environment variables defined during the Coincashew guide (like $NODE_HOME or $NODE_CONFIG)
It takes 20 seconds for the script to complete. You'll get information about your node and will immediately be able to check whether your configuration is good or not, and make appropriate changes.
The script can be found on this by