Languages
[Edit]
EN

SSH - generate keys with ssh-keygen

6 points
Created by:
Jun-L
963

In this short article, we would like to show how to generate ssh keys (private and public keys pair).

Those kays can be used to get secured ssh keys based connection with any git repository - github, gitlab, etc.

Runn following command:

Generated keys location: ~/.ssh/id_ed25519 and ~/.ssh/id_ed25519.pub.

 

or (backward compability version):

Generated keys location: ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub.

 

Example usage (with ed25519):

Example output:

generated ssh keys - public + private keys pair
generated ssh keys - public + private keys pair
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join