On 06/23/2018 08:07 PM, Todd Zullinger wrote:
Mike Wright wrote:
> On 06/23/2018 01:35 PM, Jeffrey Ross wrote:
>> my .ssh directory has my private key in a file called "id_rsa" nothing
>> with .pub on the end and if I understand correctly running ssh will look
>> for the private key in a few different file names, none of which end
>> with .pub.
>>
> Gotta have both halves. "ssh-keygen" will give you new keys.
No need to generate a new keypair. ssh-keygen -y "will read
a private OpenSSH format file and print an OpenSSH public
key to stdout."
Bingo, I had my public key only stored as authorized_keys, I made a copy
of it as id_rsa.pub and now the keyring is working as I remember.
I now have in my ~/.ssh directory
authorized_keys
id_rsa
id_rsa.pubĀ (copy of authorized keys)
known_hosts
Thanks, Jeff