"Virtual hosts" for ssh
Peter Stuge
peter at stuge.se
Sat Jun 8 10:59:44 EST 2013
Johannes Ernst wrote:
> very cool if ssh supported something like Apache "virtual hosts"
That makes not much sense, but you could of course consider
jails/containers/etc.
> host multiple installs of git on the same server
You can use real user accounts and POSIX ACLs:
# git init --shared "${repodir}" && find "${repodir}" -type d -execdir \
setfacl -m u::rwx,g::rwx,o::r-x,d:u::rwx,d:g::rwx,d:m::rwx,d:o::r-x '{}' +
..or use something like gitolite in order to avoid learning about ACLs.
//Peter
More information about the openssh-unix-dev
mailing list