(cmd)コマンドプロンプトでSSH鍵生成
git bashなどもOK
C:\Users\xxxxx>ssh-keygen -t rsa -C "xxxxx@yahoo.co.jp"
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\xxxxx/.ssh/id_rsa):
Created directory 'C:\\Users\\xxxxx/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\xxxxx/.ssh/id_rsa
Your public key has been saved in C:\Users\xxxxx/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:hk4ow3aMvoyZkfRKE2QRsO1ledOJoeza5DmpHE3gmK8 xxxxx@yahoo.co.jp
The key's randomart image is:
+---[RSA 3072]----+
|oo. . |
| o.. o + . |
|.oo * + o |
|o* B o o |
|ooO B o S |
|.=o@ = . |
|oo=.B . |
|.Oo+ . |
|E.= |
+----[SHA256]-----+
C:\Users\xxxxx>dir
Volume in drive C is Windows
Volume Serial Number is B483-53F8
Directory of C:\Users\xxxxx
2023/04/02 22:07 <DIR> .
2022/11/06 03:20 <DIR> ..
2023/04/02 22:07 <DIR> .ssh
C:\Users\xxxxx>cd .ssh
C:\Users\xxxxx>dir
Volume in drive C is Windows
Volume Serial Number is B483-53F8
Directory of C:\Users\xxxxx
2023/04/02 22:07 <DIR> .
2022/11/06 03:20 <DIR> ..
2023/04/02 22:07 <DIR> .ssh