J
J
JpegDPV2014-03-01 12:48:54
git
JpegDPV, 2014-03-01 12:48:54

What's wrong with git clone over ssh?

The problem is this:
I have my own git server (UbuntuServer) configured on port 21 (ssh, the port is forwarded on the router, everything is good), there are several users with rsa keys.
One of the users suddenly had a problem: it turns out to connect to the server via SSH (ssh gitserver), but executing git cone gitserver:/path/to/rep.git fails - it issues
Read from remote host 12.12.12.12: Connection reset by peer .
Judging by the fact that it can connect via ssh through the key, everything is ok with the key.
There are no problems with other users, clone / push / pull - everything works fine.
I’ve already broken my whole head and Google has gone over Google, to no avail. Please help.
ps: already tried to set ClientAliveInterval 30 both on the server and on the user, to no avail.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
JpegDPV, 2014-03-02
@JpegDPV

So, the problem is solved... Poor and unfortunate GIT was blocked by malicious and miserable Win8 firewall. Adding rules did nothing. We decided to kill the wall and install a normal antivirus + firewall.
Thanks to all.

I
Ivan Starkov, 2014-03-01
@icelaba

what does the user have, if linux and a bunch of keys, then
create a file ~/.ssh/config and write in it Host blblabla
IdentityFile ~/.ssh/id_rsa_blablabla

I
Ivan Starkov, 2014-03-02
@icelaba

exactly this problem is described on stackoverflow stackoverflow.com/questions/7532147/git-over-ssh-r...
solution:
the wrong user pubkey was registered on the git server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question