August 15, 2015

Installing Git into a Synology NAS

I have a Synology NAS at home, and I was trying to install Git to reduce the number of private projects I have at Bitbucket.

After using the package manager to install Synology’s Git package, I tried to access Git remotely, but I was received with a message telling me that:

fatal: Interactive git shell is not enabled. hint: ~/git-shell-commands should exist and have read and execute access.

The solution was to create that directory in my user homes directory. After doing it, I got an interactive Git shell when I open an ssh session.