On a new Mac-mini OSX Big Sur 11.0.1 I cannot find my public SSH key.
It’s not in ~/.ssh as that only has known_hosts
Running the command
find / -name "*.pub" -print
does not find any matches.
I have ssh’d into my server several times from this machine, it asks for a password, and I get in. I assume in doing this that OSX has somewhere created and used a keypair. Since this should exist, I do NOT want to generate a new key.
I’m wanting to add my Mac-mini to my authorized_keys on my server, so I do not have to type the password for each connection. I did this with my old iMac with no issue (.pub in .ssh as expected on that machine).