How can I set read only access to ssh git server? -


i have git repo on server can push/pull through ssh fine like:

git clone ssh://user@domain.com/repositories/myrepo.git 

it prompts me public key passcode , i'm able fetch or push changes it, wondering if there way set people can clone read access don't have enter ssh credentials.

thanks in advance!

not through ssh; unless wanted distribute public log in with, , terrible idea.

the way got functionality on our gitolite use git-daemon; need open new port, can specify per-repository ones serve, , can specify read-only. users clone git protocol i.e.

git clone git://domain.com/repositories/myrepo.git

another way set repository shared on web server directly; user access on standard http.

the page on git community book here overview, along man pages git-daemon.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -