I have a NAS on which I created a remote repository with the command git --bare init
and I then clone this repository on my machine with the command git clone ssh://ID@PathToDistantRepo
and it tells me that I have clone an empty repository.
So far I have no problem.
I add things, I make my commit, everything is fine, no error and the commit is present in the history.
But when I do git push origin master
it asks me three times for the password of the ssh connection and then nothing. I let it run for half an hour and the prompt remains frozen without anything indicated.
If I add the "-verbose" option, nothing new.
If I run the git remote show origin
It ask me the password and then show me this :
* remote origin
Fetch URL: ssh://ID@PathToDistantRepo
Push URL: ssh://ID@PathToDistantRepo
HEAD branch: (unknown)
Local branch configured for 'git pull':
master merges with remote master
I did not give you the exact URLs but they are good and I search the net, but I must not know how to put the right keywords because I can not find anything.
Thank you in advance for your help.