SSH公開鍵作成 メモ Windows

何回も調べているのでメモ

.sshにてPowerShellを管理者権限で開く

C:***\***\.ssh> ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\User/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in pa_rsa
Your public key has been saved in pa_rsa.pub
The key fingerprint is:
SHA256:**************************** ****@******
The key's randomart image is:
+---[RSA 3072]----+
|         . . .   |
|        + . E .  |
|     . O . o =   |
|      @ o + = .  |
|     . *So.O     |
|      o o.O+     |
|     .   X+*.    |
|        o %+o.   |
|       .o*++.    |
+----[SHA256]-----+

Enter file in which to save the key (C:\Users\User/.ssh/id_rsa):ここは何も指定しなければid_rsaとなります。

秘密鍵 ⇒ id_rsa

公開鍵 ⇒ id_rsa.pub

コメントを残す

GCE

前の記事

GCEにSSL証明書を設定する