I don't know if I'm overthinking this too much but I can't seem to understand how to use a ssh public key to create an ssh connection trough my mac.
I'll list my steps bellow:
First created the SSH keys in my server in cpanel -> SSH keys and created a key pair with name
id_rsatestThen I downloaded to my mac both public and private key files, so now in my downloads folder I have the files:
id_rsatestandid_rsatest.pubThen I moved the
id_rsatest.pubfile toUsers/myuser/.ssh/and opened Terminal.app -> Shell -> New Remote Connection and entered the information below:and receive this error:
ssh: connect to host example.com port 22: Operation timed out [Process completed]
What am I doing wrong? Is this even the way on how to create a SSH access with SSH keys?

Operation timed outsounds like network problem. Can you ping the host?