Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8203601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:36:51+00:00 2026-06-07T07:36:51+00:00

I have some git repositories running on my server and I would like to

  • 0

I have some git repositories running on my server and I would like to give a friend read/write access to one. That’s simple: I add him as a user, give him SSH access, and change the permissions to the repository folder.

Everything works fine; I’m able to clone the git repository using Xcode and change things (ssh://www.example.com/repo.git). However, I do not want him to have command line access. If I recall correctly, Github does not give command line access to those who SSH in.

I’m using Snow Leopard Server. Is this more of a server issue or a git issue? Do you have any idea where to begin? Setting the user’s Login Shell to none (as opposed to /bin/bash) cuts off access to everything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:36:53+00:00Added an answer on June 7, 2026 at 7:36 am

    Using Git server software is a fine idea, but it’s not necessary if you’d rather stick with vanilla Git.

    The git-shell tool that comes with Git can help you prevent your users from gaining shell access. In short, you can set it as your users’ login shell (replacing bash, csh, or similar). They’ll be able to run the standard Git commands, but nothing else.

    See Setting Up the Server in Pro Git for instructions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my server, I host some bare git repositories that I'm working on. I'd
I have multiple git repositories to have some interdependencies between them. I need to
I have some old branches in my git repository that are no longer under
I have some git repositories accessed remotely through SSH and I want to make
I have two unrelated (not sharing any ancestor check in) Git repositories, one is
I have two git repositories on different PCs. I have some local branches on
I have several non-bare Git repositories. There is one central Git repository (or at
We have a large project that encompass several sub-projects with their separate GIT repositories,
I have some symlinks in my git repo which I work on from two
I ran git pull origin and now I have some issues with merge my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.