How SSH-key generates public and private keys under Windows

1. Go to C:\Users\dell\.ssh   

Right click to open Git Bash Here

2.ssh-key -t rsa 

Then just hit enter enter enter

3. View id_rsa.pub and upload the public key to the server

Enter cat id_rsa.pub

Then copy all from ssh-rsa to the server, you can use git ssh

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324856121&siteId=291194637