Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[git auth] layman and git [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Aug 23, 2013 7:01 am    Post subject: [git auth] layman and git [solved] Reply with quote

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
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Aug 23, 2013 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum