Ssh clone does not clone repo in git

I want to clone another person's repo using ssh. For this, I did the following things:

  • The ssh key was generated on the local machine.
  • Added the key to the user account from which you want to clone the repo.
  • Checked if the key was added by running ssh -T git@github.com, which displays: Hi username! You've successfully authenticated, but GitHub does not provide shell access.
  • Ran git clone git@github.com:repo/repo.git.

The last step displays Cloning in 'Foldername' ... and I see that the folder is created, but there are no files in the folder. I left it for 1 hour, but nothing was copied, and I also checked the network, but it worked fine. I use cygwin for windows to clone a repo.

What am I doing wrong?

+2
source share
3 answers

. - Git bash cygwin.

ssh cygwin, cygwin.ssh, C:\cygwin\home\windows\.ssh, ssh -T git@github.com, , ssh, cygwin.ssh.

git clone git@github.com:repo/repo.git, Git bash, C:\Users\windows\.ssh. , cygwin.ssh , .

, git clone git@github.com:repo/repo.git , .

+3

, .

: , ... !
" - Github- , ?.

, , .

+2

GitHub (. https://status.github.com/), :

.

, 404s GitHub, 404 :

enter image description here

It's not uncommon for GitHub to experience minor / large crashes , probably because it is such a popular service. They also experience a random DDoS attack :

We are currently facing a big DDoS attack. The site is undergoing a serious ... Read more ... https://status.github.com/ .

0
source

All Articles