User Tools

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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information