$ git clone git@github.com:jhao104/django-blog.git
Cloning into 'django-blog'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Mr.Black@DESKTOP-4Q3FM6F MINGW64 /e/GitHub
$ ssh-keygen -t rsa -C "Interesting6"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Mr.Black/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Mr.Black/.ssh/id_rsa.
Your public key has been saved in /c/Users/Mr.Black/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:GQdNQU5sbQfUm/q4l3BfifnJEYEZ9d1Bo4yTN8gKpDI Interesting6
The key's randomart image is:
+---[RSA 2048]----+
| ..==+o+*= |
| o += Bo+.*|
| E . ...oB * o=|
| o .+. o +. |
| S. .o o|
| oo.o.|
| =oo+|
| . ++.|
| .o |
+----[SHA256]-----+
但发现。。。还是这样。。。
原来问题出在,我是clone别人的项目,所以不能用ssh......
得用https
这个是他自己的博客,所以用的是ssh,我们(别人)得用 http
另:wget是Linux下的一个下载的命令。