English 中文(简体)
了解 Gitosis Gitosis 用户回购访问
原标题:Understanding Gitosis user repo access

我在我的 Ubuntu v- server 上设置了 < code> git 和 < code> gitsis 。 在服务器上创建新的仓库, 检查 < code> gitsis-admin. git , 并推动一个更改的conf 和新密钥( otheruser.pub 等), 工作顺利。 < code > 授权的_keys 文件也会更新。 但现在我卡住了 。

如果我试图将现有的(本地机) 存储库推到 myserver.com 上的空存储库, 使用不同的用户, 那么 git 无效 。

示例(SSH):

[email protected]:/my/path/to/xyzrepo.git 

工作,但

[email protected]:/my/path/to/xyzrepo.git 

没有...

我假设遗传病会创造临时用户 或者机器上类似的东西,对吧?

最佳回答

gitsis > 您总是使用相同的用法( git

我想突出显示 djs s 注释 : 您不应该用密码登录到 < code> git 用户账户 。 Gitsis 依靠 ssh < code > 授权的_keys 文件来正确运行, 只有当某人使用 ssh 键认证时才使用此选项 。

问题回答

暂无回答




相关问题
Add a changing icon to Ubuntu Panel

What would be the most simple way of adding and changing an icon in the Ubuntu (Gnome) Panel? I m looking for something as simple as shell scripting, but I m not restricted to that. Will write a ...

Configuring kernel

After create a new system call, how to update the kernel? I tried these lines, make-kpkg clean fakeroot make-kpkg -initrd -append-to-version=-custom kernel_image kernel_headers But Ubuntu asked me ...

save Exceptions to file in python

I want to save all following Exceptions in a file. The reason why I need this is because the IDLE for python 3.1.1 in Ubuntu raises an Exception at calltipps, but close to fast, that it isn t readble. ...

How can i monitor system statistics in kubuntu using Java?

i am doing a project related to configuration and memory analyzer for kubuntu. i want to display the system statistics information like CPU usage, RAM usage and proceses etc. graphically using an ...

How to pass "--external-locking" for mysqld in Ubuntu

I would like to start my mysql server with the --external-locking option. As mysqld is run by the /etc/init.d/mysql script ubuntu (karmic), I guess that s where I should set this "--external-locking" ...

"g++" and "c++" compiler

I just found on my Ubuntu, there are two different C++ compilers: /usr/bin/g++ and /usr/bin/c++. I am not familiar with the latter, but man c++ just jumps to the manpage of gcc. I wonder what is their ...