Hello there, I’m new to the forum so I hope I’m not making any mistake of any kind.
The title of the post explains what I need to do, enable SSH access for every user (I need SSH only to make users able to use SFTP instead of FTP, this is because I need my NAS to be accessible from outside my local network, and FTP is not really the best option, and I’m pretty sure that even SMB is not a good idea).
From the settings of the NAS dashboard, I am able to enable SSH, but only for the root user. Then what’s the problem, go to /etc/ssh/sshd_config and add other users… well there are 2 problems with this. First of all I can’t find a way to restart the ssh server and make the new configs work. Second, and most important, every time I reboot the system (so that the changes in the configs could starts working) the sshd_config file is back to it’s default configuration.
This makes it impossible for me to enable users to have ssh access. I’ve searched on google and different forums to see if there was any option, but didn’t have any luck.
Also checked to see if there was any application on the store, but nothing. And since the NAS uses BusyBox I’m extremely limited in what I can and can’t do, I know I can install applets for BusyBox (somehow) but I’m would just like to add another user.
I suppose there is somewhere, even if I could not find it yet, a file storing the default configurations, where is this file? I’ve tried to use the find command to see where it was saved, but nothing.
Thank’s for any help and sorry if I have made any grammatical mistake (English is not my main language).
Note: I know that WD provides apps and web interfaces for accessing the NAS, but honestly, they both look awful, the web app require flash player for doing anything (upload and download, and even having flash player I have problems with it) while the app is old and does not seem to work.
Plus, I use Transmit for SFTP which gives me a ton of functions, so… I need answer only SFTP related, thank’s!