Once enabled, many users prefer to customise their SSH access also, particularly to increase security vs the default settings by, for instance, limiting root access or requiring public key authentication be used. To achieve this it is necessary to edit the file "
This however can be the source of major issues - edit the
sshd_configfile incorrectly and it is possible to prevent SSH access working correctly. But without SSH access there is no way to fix the error as a firmware reinstall will not will not revert the
sshd_configfile back to the default settings. And it is a very easy mistake to make...
Fortunately there is a way to restore the file to its default settings by following these steps:
- Download this file - do NOT unzip it
- Load Frontview and go to the menu 'System -> Config Backup'
- Select the 'Backup' tab and perform a Config Backup (this is a precaution)
- Select the 'Restore' tab and perform a Config Restore using the ZIP file you downloaded in step 1
- Once the restore is complete, reboot your NAS as instructed
The uploaded file contains a default sshd_config configuration including permitting root access and login with password. Once the NAS has rebooted, SSH access will (hopefully) be restored.
And next time, make sure you keep an SSH session open while you test any changes to