Skip to content

Instantly share code, notes, and snippets.

@ledangtuanbk
Created July 22, 2019 10:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ledangtuanbk/cce90e2c6d13c172e250a034229628a2 to your computer and use it in GitHub Desktop.
Save ledangtuanbk/cce90e2c6d13c172e250a034229628a2 to your computer and use it in GitHub Desktop.
B1. Cai dat git bash https://git-scm.com/downloads
B2. Bat Git Bash. chay lenh
ssh-keygen -t rsa
enter
enter
enter cho den khi xong
B3. chay lenh "cat ~/.ssh/id_rsa.pub"
B4. Copy nhung thu tren man hinh gui cho a Tuan
@ArceiuSQuang
Copy link

Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/arcei/.ssh/id_rsa):
Created directory '/c/Users/arcei/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/arcei/.ssh/id_rsa
Your public key has been saved in /c/Users/arcei/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:YqGAZc8+hX8ZAPxzAbXSumCKioxskPoJJLrAi3H03m4 arcei@DESKTOP-S21VHLU
The key's randomart image is:
+---[RSA 3072]----+
| o...oo. |
| + o.. o.. |
|. . +.+ +. |
| o +o+.o |
|.o. * =oS |
|Bo + + + |
|O.o . . |
|X*.o .E |
|B=o .oo |
+----[SHA256]-----+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment