View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Fri Aug 23, 2013 7:01 am Post subject: [git auth] layman and git [solved] |
|
|
My git overlay works with this config file:
Code: |
dell ~ # cat /root/.ssh/config
HOSTNAME github.com
IdentityFile ~/.ssh/git1_dsa
|
when I run layman -f -a my-overlay as root user it starts this command:
Code: |
... /usr/bin/git clone git@github.com:gitUser/repo.git /var/lib/layman/repo
...
Enter passphrase for key '/root/.ssh/git1_dsa':
|
how should I set .ssh/config if I have more than one github account, with different dsa keys? _________________ vu vu vu
gentù
mi piaci tu
Last edited by cloc3 on Fri Aug 23, 2013 2:27 pm; edited 1 time in total |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Fri Aug 23, 2013 2:27 pm Post subject: |
|
|
solved by myself.
Code: |
dell ~ # cat /root/.ssh/config
HOST gh-project
HOSTNAME github.com
IdentityFile ~/.ssh/git_dsa
|
Code: |
dell ~ # grep git@ /etc/layman/overlays/overlay.xml
<source type="git">git@gh-project:gh_project/repository.git</source>
|
_________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
|