2015-04-09

Allowing GIT in JailKit on ISPConfig

I have several Debian based webservers which use ISPConfig. ISPConfig has  a very nice feature which allows clients to log in with SSH using JailKit. They get a jail with basic linux commands and access to their full web-environment (and private directories). I’ve had one specific client that needed to pull code from git repo’s. Though git was available on the jail host the jail itself didn’t have access. It’s fairly simple to get the jail to use git;

Add GIT binaries;

Add GIT libraries;
Optional; add ssh-keygen to clone out bitbucket-ssh repo’s;
Last but not least, add uname to jail