git

问题

nix-shell-env git clone git@github.com:wuxiaobai24/infinity.git
Cloning into 'infinity'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 20.205.243.166 port 22
fatal: Could not read from remote repository.
 
Please make sure you have the correct access rights
and the repository exists.

解决方法

Using SSH over the HTTPS port - GitHub Docs

修改 .ssh/config

Host github.com
  Hostname ssh.github.com
  Port 443
  User git

2024-06-06