From: Thomas Koch <hidden> Date: 2016-06-15 22:45:45
Sorry for the shameless subject, but I presented gitosis yesterday to
our sysadmin and he wasn't much delighted to learn, that write access to
repositories hosted with gitosis would need SSH access.
So could you help me out in this discussion, whether to use or not to
use gitosis?
Our admin would prefer to not open SSH at all outside our LAN, but
developers would need to have write access also outside the office.
Best regards,
--
Thomas Koch, Software Developer
http://www.koch.ro
Young Media Concepts GmbH
Sonnenstr. 4
CH-8280 Kreuzlingen
Switzerland
Tel +41 (0)71 / 508 24 86
Fax +41 (0)71 / 560 53 89
Mobile +49 (0)170 / 753 89 16
Web www.ymc.ch
From: R. Tyler Ballance <hidden> Date: 2016-06-15 22:45:45
On Tue, 2008-12-09 at 09:56 +0100, Thomas Koch wrote:
Sorry for the shameless subject, but I presented gitosis yesterday to
our sysadmin and he wasn't much delighted to learn, that write access to
repositories hosted with gitosis would need SSH access.
Accounts set up with keys for Gitosis are given restricted accounts
(from my understanding similar to how CVS or SVN operate over SSH
tunnels).
The sysadmins here at Slide also had similar frustrations/concerns about
using Gitosis, but we were able to convince them that keys were a far
better solution than keyboard-interactive login sessions over HTTPS for
Subversion.
We're using gitosis with plenty of developers (coming up on 50) and
haven't had any issues with security (yet, crossed fingers). We even
have some accounts that are able to read but not write, i.e. they can
clone and pull, but not push back up to the central repository. YMMV.
So could you help me out in this discussion, whether to use or not to
use gitosis?
Our admin would prefer to not open SSH at all outside our LAN, but
developers would need to have write access also outside the office.
I recommend using VPN if the need to push/pull while outside of the
office (more fun solutions include SSH gateways that tunnel outside to
inside). Otherwise, why could they not simply commit locally, etc, and
then when they come into the office push/pull?
Cheers
--
-R. Tyler Ballance
Slide, Inc.
On Tue, Dec 09, 2008 at 09:56:48AM +0100, Thomas Koch wrote:
Sorry for the shameless subject, but I presented gitosis yesterday to
our sysadmin and he wasn't much delighted to learn, that write access to
repositories hosted with gitosis would need SSH access.
So could you help me out in this discussion, whether to use or not to
use gitosis?
Our admin would prefer to not open SSH at all outside our LAN, but
developers would need to have write access also outside the office.
If your admin doesn't want to open SSH to the outside, then the
people who need it would need to VPN into your LAN first. That's
how I do it on networks that don't allow any traffic from the
outside.
But like someone else ask, what alternative *would* your admin
prefer? I'd rather use SSH than a yet-to-be-proven-secure
alternative app.
--
Garry Dolley
ARP Networks, Inc. http://www.arpnetworks.com
Data center, VPS, and IP transit solutions (818) 206-0181
Member Los Angeles County REACT, Unit 336 WQGK336
Blog http://scie.nti.st
From: Sam Vilain <hidden> Date: 2016-06-15 22:45:45
On Tue, 2008-12-09 at 09:56 +0100, Thomas Koch wrote:
Sorry for the shameless subject, but I presented gitosis yesterday to
our sysadmin and he wasn't much delighted to learn, that write access to
repositories hosted with gitosis would need SSH access.
So could you help me out in this discussion, whether to use or not to
use gitosis?
Our admin would prefer to not open SSH at all outside our LAN, but
developers would need to have write access also outside the office.
Restricted unix shells are a technology which has been proven secure for
decades now. If you use git-shell, you are keeping the secure part of
SSH - the authentication and encryption - and restricting the SSH access
part to the bare minimum required for useful access to the required
services.
ie ... it all comes down to the shell you give those 'login' users as to
what they can do.
Sam.
From: Tommi Virtanen <hidden> Date: 2016-06-15 22:46:05
On Tue, Dec 09, 2008 at 01:07:00AM -0800, R. Tyler Ballance wrote:
Accounts set up with keys for Gitosis are given restricted accounts
(from my understanding similar to how CVS or SVN operate over SSH
tunnels).
I don't think I've ever seen a CVS used with "virtual"
restricted-shell accounts.
The svnserve --tunnel-user= support for that mode of operation was
written by me, and is basically exactly the same trick as the one used
by gitosis.
Before gitosis, I had my old SVN setup pretty much reproduced with
git, but then I got bored administering it and wrote gitosis to
automate account and access management.
I am not aware of anyone ever finding a way to get around an svnserve
--tunnel-user= setup. I'm not losing my sleep over the security of
this concept.
Use an SSH gateway if you want tighter control on who gets where,
network-wise. Then you won't get non-git login attempts from the
external net.
Or run an extra SSH service, e.g. using Conch. As long as it respects
~ssh and is interoperable with OpenSSH, gitosis should work just fine.
It can even run as the git user 100% of the time.
--
:(){ :|:&};: