private and public key in SSH

Support for security such as Firewalls and securing linux
Post Reply
dibax10
Posts: 1
Joined: 2019/10/26 19:08:02

private and public key in SSH

Post by dibax10 » 2019/10/27 10:41:50

Hey guys,
I have a question about using SSH. I know that SSH works with private and public key. when I install and configure SSH. I have to use the password to be connected with the server or a client, but I see in some topic's they generate a key. SSH doesn't generate the key automatically?

scottro
Forum Moderator
Posts: 2431
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: private and public key in SSH

Post by scottro » 2019/10/27 14:22:26

No, you use ssh-keygen to create a public and private key.

This DigitalOcean article explains it pretty well, IMO.

https://www.digitalocean.com/community/ ... sh-keys--2
New users should check the FAQ and Read Me First pages

Post Reply

Return to “CentOS 6 - Security Support”