If you are a regular SSH user, there are chances that you sometimes faced the error message “Connection reset by peer”. To avoid this message, you can edit some settings on server side or on client side. In this post I will show you both case.
If you are using Putty, there is a setting under the “Connection” tab that allow you to set the keepalive value. By default it’s disabled (value is 0).
You can set the value at 240 and each 240 seconds, Putty will send a null packets to keep the connection open.
If you are a Synology NAS user, maybe you want to read some logs to understand what’s happened when you face a problem.
There are two ways to do that :
Using Log Center package
Using Support Center
If you want to read logs about backup, user connection, etc. the first solution should be quite good but if you are looking for more specific logs about a system problem, slowness, etc. the second solution will give you more details.
To export logs from Support Center, follow those steps :
Open Support Center from Synology menu
Go to “Support Services” tab and in the “Log Generation” menu, select the logs that you want to check, then click “Generate logs”
Wait a few minutes while your NAS is generating the logs
The file generated by the NAS will be named “debug.dat“, you can open it using 7-Zip.
In the file you will find a directory named “dsm“, all the primary logs will be under the directory hierarchy : “dsm -> var -> log”