threads / discuss / 22974

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

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

## tl;dr

One message between Mar 10, 2010 and Mar 10, 2010.

replies: 0people: 1as markdown or json

hudarsono· Mar 10, 2010, 04:42 UTC · lore

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.

← back to recent threads