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

1 messages from 2010-03-10 to 2010-03-10. Participants: hudarsono.
Thread: https://gitlist.dev/t/22974

## hudarsono, 2010-03-10 04:42

Subject: [Pls Help] Connection refused on port 22 when tried to push go git server
Message-ID: <1268196151780-4707012.post@n2.nabble.com>
URL: https://gitlist.dev/e/1268196151780-4707012.post%40n2.nabble.com

```

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.

```
