synology
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| synology [2023/12/08 13:21] – ssm2017 | synology [2024/01/29 14:31] (current) – ssm2017 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ==== ssh key file ==== | ==== ssh key file ==== | ||
| source : https:// | source : https:// | ||
| + | |||
| + | <sxh bash> | ||
| + | ssh-keygen -t rsa -b 4096 -C " | ||
| + | </ | ||
| in / | in / | ||
| Line 12: | Line 16: | ||
| </ | </ | ||
| <sxh bash> | <sxh bash> | ||
| - | sudo chmod 755 / | + | sudo -i |
| + | chmod 755 / | ||
| synosystemctl restart sshd.service | synosystemctl restart sshd.service | ||
| </ | </ | ||
| to debug : | to debug : | ||
| <sxh bash> | <sxh bash> | ||
| - | sudo /bin/sshd -d -p 1234 | + | /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.1702038090.txt.gz · Last modified: by ssm2017
