有权限 ssh 就是拉不下来代码
PS D:\dev> ssh -T [email protected]
Warning: Permanently added the ED25519 host key for IP address '198.18.0.4' to the list of known hosts.
Hi TomVista! You've successfully authenticated, but GitHub does not provide shell access.
PS D:\dev> git clone [email protected]:TomVista/markdown-html.git
Cloning into 'markdown-html'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
PS D:\dev> git clone https://github.com/TomVista/markdown-html.git
Cloning into 'markdown-html'...
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 25 (delta 2), reused 25 (delta 2), pack-reused 0
Receiving objects: 100% (25/25), 6.82 KiB | 6.82 MiB/s, done.
Resolving deltas: 100% (2/2), done.
1
Monad 2022-09-03 00:23:29 +08:00 via iPhone
检查一下私钥权限
|