Lost SSH connection details to Raspberry Pi hosting HA

Hi,
I would like to update the distro where HA is installed. Yet, I can’t find what my ssh connections details were. I’m trying a bunch of things but the connection is always refused.
I am starting to doubt that the port is 22 or that SSH is even enabled anymore.
What can I do?

Note: I’m not talking about the ssh console on the HA interface, called ssh-core. I’m talking about connecting to homeassistant.local from my mac.

Thanks.

Connect to the console instead.
If it is a raspi then either serial connection, if that is opened or a monitor and keyboard directly connected.
If it is a virtual instance then there should be a console option available with the hypervisor.