gitosis asking for password

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx:gitosis-admin
Cloning into gitosis-admin...
gitosis@xxxxxxxxxxxxxxxxxxxxxxx'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: signature.asc
Description: Digital signature


[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]