From: Tim Guirgies <lt.infiltrator@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: gitosis asking for password
Date: Wed, 1 Jun 2011 01:49:55 +1000 [thread overview]
Message-ID: <20110531154954.GB4483@Imperial-SSD-Overlord> (raw)
[-- Attachment #1: Type: text/plain, Size: 1870 bytes --]
Hi List,
I've been at this for a few days now, to no avail. It all began when
gitosis stopped liking me, and whenever I tried to fetch from or push to
my gitosis server, it gave me a 'fatal: x does not appear to be a git
repo' error.
So, I decided to remove gitosis and start again afresh. Following this
[1] guide, I did/got the following:
$ sudo adduser --system --shell /bin/sh --gecos 'git version control'
--group --disabled-password --home /home/gitosis gitosis
Adding system user `gitosis' (UID 119) ...
Adding new group `gitosis' (GID 128) ...
Adding new user `gitosis' (UID 119) with group `gitosis' ...
Creating home directory `/home/gitosis' ...
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/tim/.ssh/id_rsa):
Created directory '/home/tim/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/tim/.ssh/id_rsa.
Your public key has been saved in /home/tim/.ssh/id_rsa.pub.
...
$ sudo -H -u gitosis gitosis-init < /home/tim/.ssh/id_rsa.pub
Initialized empty Git repository in
/home/gitosis/repositories/gitosis-admin.git/
Reinitialized existing Git repository in
/home/gitosis/repositories/gitosis-admin.git/
$ git clone gitosis@overlord.imperial.fleet:gitosis-admin
Cloning into gitosis-admin...
gitosis@overlord.imperial.fleet's password:
Permission denied, please try again.
Of course, it's not meant to ask me for a password, and no matter what I
type, it won't work anyway, as it's disabled.
So, did I miss something? Does anybody know some gitosis magic?
Tim
[1] http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2011-05-31 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 15:49 Tim Guirgies [this message]
2011-05-31 16:01 ` gitosis asking for password Matthieu Moy
2011-06-01 2:23 ` Tim Guirgies
-- strict thread matches above, loose matches on Subject: below --
2011-05-31 15:42 Tim Guirgies
2011-06-01 18:24 ` Drew Northup
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=20110531154954.GB4483@Imperial-SSD-Overlord \
--to=lt.infiltrator@gmail.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