The problem is when i use remote connection string like this:
git@my_ip:admin/repo.git
Everything works fine, but when i use:
ssh://git@my_ip:22/admin/repo.git
I'm getting next error(on git pull):
ssh: connect to host my_ip port 22: No route to host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository
exists.
And yes, i have correct access rights with ssh keys and it works with scp-like connection string absolutely fine.
I also can connect with ssh client(putty) to ssh on port 22, no problem too.