Administrator@tcg-PC MINGW64 ~
$ cd ~/.sh
bash: cd: /c/Users/Administrator/.sh: No such file or directory
Administrator@tcg-PC MINGW64 ~
$ cd ~
Administrator@tcg-PC MINGW64 ~
$ ssh -keygen -t rsa -C "liyuhuan@jkinfo.com.cn"
Bad escape character 'ygen'.
Administrator@tcg-PC MINGW64 ~
$ ssh -key gen -t rsa -C "liyuhuan@jkinfo.com.cn"
ssh: Could not resolve hostname gen: Name or service not known
Administrator@tcg-PC MINGW64 ~
$ ssh-keygen -t rsa -C "liyuhuan@jkinfo.com.cn"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Created directory '/c/Users/Administrator/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:jhjUNjhrIkXLuJbRcf568R8GJUKmX4MhYK1EU0UOYmA liyuhuan@jkinfo.com.cn
The key's randomart image is:
+---[RSA 2048]----+
| E+O+=o* |
|.++o*+B o |
|..=.=o++ + . |
| ooo +o.o + |
|oo. + +S. |
|.. o o.oo . |
| ...... o |
| . o . |
| . |
+----[SHA256]-----+
网友评论