Linux Shout published a tutorial about installing Cockpit on Ubuntu 22.04 or 20.04 LTS.
How to Install Cockpit on Ubuntu 22.04 | 20.04 LTS
Manage your command line or GUI Linux system remotely using browser by installing Cockpit on Ubuntu 22.04 Jammy Jellyfish or 20.04 Focal.
How to Install Cockpit on Ubuntu 22.04 | 20.04 LTS