Hierarchical command execution via SSH for configuring server clusters