Create remote git repository without access to remote shell
Is there any way to create a remote repository using git commands without
having shell access to the remote user directory?
Im looking for something that could be written like
git remote init ssh://user@host:/home/gituser/mynewrepository.git
For security reasons the normal shell was disabled for the user who owns
our central git repository (using: usermod -s /usr/bin/git-shell git) . So
there is no login shell available for this user and it is not possible to
initialize a repository on the central server. I have a personal user
login shell and I'm aware of multiple workarounds (sudo, write access to
/home/gituser/, ...)
No comments:
Post a Comment