Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
C:\Users\your_id>ssh-keygen -o -t rsa -C "your@email.com"
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\kurap/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\kurap/.ssh/id_rsa
Your public key has been saved in C:\Users\kurap/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:XT4LvB41/KYIjz94Dv7+R6X+h8qkcDQ3sVsPdpnlMis your@email.com
The key's randomart image is:
+---[RSA 3072]----+
|                 |
|                 |
|            o   .|
|         o + o .=|
|        S * X *=o|
|         . * XoB |
|        +.+ Eo+..|
|       ..Oo* ++ .|
|        o*Xo=o .o|
+----[SHA256]-----+


STEP 3. copy Copy id_rsa.pub in the command line. Its format will be like below:

Code Block
C:\Users\your_id>cat .ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDaMoWDfMajVZuTPlNHdKdkcYqX4JUnXiKHJtL4L5....zSJjBx3EF1m7C0DXdjx6kmxKtwr+XAVAQ2kRC2Hkc= your@email.com

...