[Pls Help] Connection refused on port 22 when tried to push go git server

From: hudarsono <hidden>
Date: 2016-06-15 22:48:24

Hi, I am new to git, and trying to install n use on my own server, but
couldn't make it to works till now.

I have installed git and gitosis successfully on server and can clone
the gitosis-admin.git. Then I tried to change the gitosis.conf to be
something like :

[group gitosis-admin]
writable = gitosis-admin mobapp
members = hudars...@Hudarsono-MacBook.local
hudars...@mail.funplanet.com.au

[group personal]
writable = mobapp
members = hudars...@Hudarsono-Macbook.local

and create new repo on server with name mobapp.git.

But when I want to push my local copy to server after run the git
remote add ssh://...@my-domain.com:mobapp.git

I got permision denied:

Hudarsono-MacBook:mobapp hudarsono$ git push
ssh: connect to host  port 22: Connection refused
fatal: The remote end hung up unexpectedly

I don't understand, because I use the same machine as when I clone the
gitosis-admin.

Any help will be very appreciated. 
-- 
View this message in context: http://n2.nabble.com/Pls-Help-Connection-refused-on-port-22-when-tried-to-push-go-git-server-tp4707012p4707012.html
Sent from the git mailing list archive at Nabble.com.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help