Adding User

Assigned to the administrator group. The keys won't work if assigned to the user group.

SSH Keys

To add ssh keys you need to do the following:

There is a bunch of stuff you have to do get the synology to accept keys. Follow
this tutorial link.

Login as admin using the admin password.
Type sudo -i and then enter the admin password. You will be root. The reason for this is because DSM 7 update disabled logging in as root.

Use RSA keys with the synology, DSA keys gave me trouble and I think are deprecated.

When you make ssh keys that don't have a default name you have to add them so
that they get used by ssh when you're trying to ssh into that server. So, use
ssh-add which adds a line in the .ssh/config file.

If you get into trouble you can do two things. Run the ssh command with the
verbose option, so ssh -v, or go into the server and look up the logs. The ssh
logs are in: /var/log/auth.log

Synology Webserver

Lucas helped me set up a synology webserver to put all the html files generated by
vimwiki on there.

We first tried just installing the apache package but we then realized that it is
designed to work with the web station synology package. After installing that, we set
it up with Apache 2.2 (he changed some settings messing with Apache 2.4 and it
stopped working even after an uninstall).

He then set up a working directory for the html files which are at:

/volume1/data/paul_web/

He then set up a .htaccess and a .htpasswd file with a password we generated and now
the whole site is locked with this password :).