if you got an dlink sharecenter pulse (dns-320) like me, and you maybe think about getting a small sql and/or webserver. why not doing it on your nas?
on the sharecenter runs an arm version of debian linux, and with a little package called funpkg you cant install many apps, even ssh 🙂
you can read how here:
i dont copy a short tutorial here, because its to specific for each version, and the page itself explains it very good.
after the installation you can hang yourself through the links to get what you want.