git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: hudarsono <hudarsono@yahoo.com>
To: git@vger.kernel.org
Subject: [Pls Help] Connection refused on port 22 when tried to push go git server
Date: Tue, 9 Mar 2010 20:42:31 -0800 (PST)	[thread overview]
Message-ID: <1268196151780-4707012.post@n2.nabble.com> (raw)


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.

                 reply	other threads:[~2010-03-10  4:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1268196151780-4707012.post@n2.nabble.com \
    --to=hudarsono@yahoo.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).