Page 1 of 1

private and public key in SSH

Posted: 2019/10/27 10:41:50
by dibax10
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?

Re: private and public key in SSH

Posted: 2019/10/27 14:22:26
by scottro
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