Ubuntu packages these parts together. Each keeps track of something different.
Your laptop connects over TCP to the SSH server on the Ubuntu host.
With PAM enabled, sshd calls Pluggable Authentication Modules for account checks and login setup. SSH may verify your key itself. PAM is a Unix framework, not part of systemd.
When configured, the pam_systemd module registers the login with logind. Its record answers “who logged in, and how?”
On the terminal side of that SSH login, the shell and its jobs belong to process groups in a kernel session (SID). This Unix job-control grouping is not logind’s login record.
Super uses its own session ID to group a discussion’s messages. Opening another discussion does not require another SSH login or kernel session.
A path like /run/example.sock can name the endpoint. It is a special filesystem entry, not a regular file storing the conversation. Some Unix sockets have no path.
/run/example.sock