Let's say there are two keys A and B, both of which are valid for user@host public key authentication. Since authorized_keys is configured for different behaviour depending on the key, ~/.ssh/config on the client uses something like
Host A.host
HostName host
User user
IdentityFile ~/.ssh/A
Host B.host
HostName host
User user
IdentityFile ~/.ssh/B
That works fine.
I was able to run the following command:
git clone admin@ip address:gitolite-admin.git
When I tried adding a new user using the steps below, the new user was unable to connect:
Steps taken so far:
1. Copied the public key into the keydir (also tried copying it in a separate directory within the keydir)
2. I added a repo in the config file for the new userID
3. git add -A
4.
I have just installed Gitolite and Gitlab and I am very happy with it. Everything works fine so far.
I can create repos, push to them, clone them on other clients on the network. Great!
But now I wanted to do some post-receive hooks.
I.e. when I push to some repo, this repo should be checked out on the server in the /var/www/repos directory.
I installed git with gitolite on my vserver using this tutorial.
But I've got a problem to clone the gitolite-admin repo to my computer.
The user is created with the option --disabled-password
But if I try to clone with
git clone git@<server>:gitolite-admin.git
he asks not only for the passphrase of my rsa_key but also for the password
of the gituser.
Anyone an idea?
Hi
I'm trying to set my own git repository. I was fallowing this how-to, but I had to change
Code:
$REPO_BASE="/some/path/git/repositories";
in ..gitolite.rc.
I'm on mac os x, trying to host my own git server. I've got gitolite running perfectly. However, I have a folder called "git" in my Sites directory, such that visiting http://git.example.com points to that directory. How can I get Gitweb's document root to point to my gitolite "repositories" folder in /Users/me/repositories/?
I am trying to get a shared path setup between a QEMU/KVM guest and the host. The problem I'm having is that KVM runs as the libvirt-qemu user (Ubuntu distro) and thus won't have permissions to any of the host files.
Is there anyway to use the access writes of a particular host user for the shared path? (That is, other than simply running KVM as that user, or adding them to a group)
Hallo guys,
I am new to Linux, I like to transfer multiple files from server A to server B. Source files URLs (from server A) are in a file called "list.txt"
Eg.
Can anyone explain this? Nmap, when run with -n -sP as a non-privalged user results in correct output. But when run as root... it shows every node on the subnet as up.