(This only works for my DSM 6.0, at the time where you read this post, it may be outdated)

- First launch the terminal application on the computer
- Type in the following command and press enter: ssh admin@255.255.255.255 -p 22 -t "cd ~/../../../../volume1/; bash --login;"(change the ip and port to match your configration)
- Enter the password of the adminuser (this is the default administration user of your synology server)
- Type sudo -iand press Enter.
- Enter the password of your DSM/SRM’s administrator account again, and press Enter.
- You are now signed in to your DSM/SRM with root privilege via SSH