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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...@xxxxxxxxxxxxxxxxxxxxxxx
hudars...@xxxxxxxxxxxxxxxxxxxxx

[group personal]
writable = mobapp
members = hudars...@xxxxxxxxxxxxxxxxxxxxxxx

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://...@xxxxxxxxxxxxx: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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]