synology
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| synology [2023/11/01 18:55] – created ssm2017 | synology [2024/01/29 14:31] (current) – ssm2017 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Synology ====== | ===== Synology ====== | ||
| ==== security ==== | ==== security ==== | ||
| - | | + | * network --> connectivity --> disable server headers |
| + | * error page --> / | ||
| + | |||
| + | ==== ssh key file ==== | ||
| + | source : https:// | ||
| + | |||
| + | <sxh bash> | ||
| + | ssh-keygen -t rsa -b 4096 -C " | ||
| + | </ | ||
| + | |||
| + | in / | ||
| + | <sxh bash> | ||
| + | PubkeyAuthentication yes | ||
| + | </ | ||
| + | <sxh bash> | ||
| + | sudo -i | ||
| + | chmod 755 / | ||
| + | synosystemctl restart sshd.service | ||
| + | </ | ||
| + | to debug : | ||
| + | <sxh bash> | ||
| + | /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 | ||
synology.1698861324.txt.gz · Last modified: by ssm2017
