===== Synology ======
==== security ====
* network --> connectivity --> disable server headers
* error page --> /usr/syno/share/nginx/error.html
==== ssh key file ====
source : https://blog.aaronlenoir.com/2018/05/06/ssh-into-synology-nas-with-ssh-key/
ssh-keygen -t rsa -b 4096 -C "user@machine"
in /etc/ssh/sshd_conf
PubkeyAuthentication yes
sudo -i
chmod 755 /myvolume1/homes/myuser
synosystemctl restart sshd.service
to debug :
/bin/sshd -d -p 1234
==== git server ====
* install git server package
* using the menu, open the git server app and give access to the user
* connect with ssh to the nas and create a git repo (git init --bare)
* go inside the git repo and run : git update-server-info