标签:
xxx@xxx-PC xxx~
$ ssh-keygen -t rsa -C "xxxx@xxxx.com"(git账号)
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/xxxx/.ssh/id_rsa):(保存地址)
Created directory ‘/c/Users/xxx/.ssh‘.
Enter passphrase (empty for no passphrase):(输入key的名称)
Enter same passphrase again:(重复输入key的名称)
Passphrases do not match. Try again.(输入不一致,重复输入)
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/xxxx/.ssh/id_rsa.(保存地址)
Your public key has been saved in /c/Users/xxxxx/.ssh/id_rsa.pub.(保存地址)
The key fingerprint is:
SHA256:xxxx xxxx@xxxx.com
The key‘s randomart image is:
xxxx
标签:
原文地址:http://www.cnblogs.com/zhangxia/p/4955313.html