'How to add an SSH Key to CircleCI

I'm trying to add an ssh key(private key) to CircleCI, but I have a question.

Which private key do I have to add, private key generated on local PC or generated on server what I want to access with ssh?

Document says that In a terminal, generate the key with ssh-keygen -t ed25519 -C "[email protected]".



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source