I can connect to the MyCloud via SSH/SFTP without problems, thing is, using the user sshd for file transfer messes with the file ownership, producing errors on windows. For sure, I can change the file ownership with chmod back to the normal user I am using when connecting to the MyCloud via windows, but I don’t like this manual solution.
So there are two ways:
Connect to the MyCloud on windows using the sshd user. That does not work.
Add my username to the ssh users in /etc/ssh/sshd_config and restart sshd. First thing’s no problem, but I could not find any way to restart sshd. If I restart the whole machine, the sshd_config seems to be resetted.
Is there any way to achieve what I described?