Closed tetsuh closed 10 years ago
Oh, but you can edit ~gitprep/.ssh/authorized_keys directly?
Yes, I just concatenate users's pub key to ~gitprep/.ssh/authorized_keys. after that user can access repository via ssh key authentication instead of password.
cons. is access control. once added user's pub key, user can access all repository on GitPrep. I think it's okay at this time since GitPrep is for small workgroup not enterprise.
In future, we can go fine grain access control by using OpenSSH 6.2's AuthorizedKeysCommand. ( http://togakushi.bitbucket.org/build/html/openssh-6.2.html )
Thanks.
I haven't known open ssh this feature. I am interested in this feature. I want to support this feature.
@tetsuh
I don't yet understand git hub system via ssh access.
If you know it, please tell me it.
Why can gitHub accesss repository via ssh in the following URL?
git@github.com:yuki-kimoto/gitprep.git
I don't know what GitHub does. But we can refer GitLab or Gitolite.
I just looked following information about ssh access and authorized_keys handling,
here is japanese blog about gitolite ssh access and user recognition.
Those all are interested and looks works well practically. but I feel those pretty complicate and not so smart :)
Thans.
Oh, Great information! I haven't known ssh advanced features. I want to implement this feature.
Thanks. I read above information. This is not so easy. I should read gitolite implementation.
Please tell me the meaning of the folloing value if you know this . What value is this in SSH keys page of GitHub?
7d:d7:ec:86:f6:96:cf:8f:63:07:79:01:f4:cb:f7:78
It's the fingerprint of the key http://en.wikipedia.org/wiki/Public_key_fingerprint
thank you!
I add public key authentication feature to master. Please test.
Hi,
I have used ssh key authentication feature in these four days. It works perfectly on my environment. very good !
I like GitPrep with ssh connection. It's rock solid and better response than http.
Thank you.
It will be nice if GitPrep has GitHub like UI for adding SSH Public Keys.
GitPrep is pretty good support both http and ssh. but I need to edit ~gitprep/.ssh/authorized_keys manually if I want to add SSH Public Keys.