The Computer Oracle

Can I change the filename of my ssh public/private key pair?

--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island

--

Chapters
00:00 Question
00:57 Accepted answer (Score 43)
01:23 Thank you

--

Full question
https://superuser.com/questions/585429/c...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #ssh #openssh #xen #publickeyencryption

#avk47



ACCEPTED ANSWER

Score 46


The filename has no meaning at all, as long as ssh is told where to find it.

(However, if you have the public key extracted to a separate file, then it should have the same filename + .pub as the main file; e.g. mykey & mykey.pub.)