Easy Tutorial
❮ Matplotlib Tutorial Mac Scala Chinese Show ❯

View this machine's SSH public key, generate the public key

Category Programming Technology

Methods to view the SSH public key:

1. Through the command window

a. Open your Git Bash window

b. Enter the .ssh directory: cd ~/.ssh

c. Find the id_rsa.pub file: ls

d. View the public key: cat id_rsa.pub or vim id_rsa.pub

As shown in the figure:

2. Or you can directly enter the command: cat ~/.ssh/id_rsa.pub

3. Or you can directly open the .ssh folder under your user (usually Administrator), and open the id_rsa.pub file inside it, as shown in the figure:

What is a public key

Generate a public key

As shown in the figure:

>

Original article link: https://blog.csdn.net/shog808/article/details/76563136

** Click to share notes

Cancel

-

-

-

❮ Matplotlib Tutorial Mac Scala Chinese Show ❯