SFTP Setup

I figured it out so I’m posting the solution for anyone thats interested. I’m doing this because the WDMyCloud.com website uses WinDAV but its SLLLOOOW!! So I’m mounting my MyCloud as a system drive out side the house and for security purposes I didn’t feel right using the root user.

  1. open putty 

  2. type and execute

    sudo nano /etc/ssh/sshd_config

  3. Scroll down to the line that says “AllowUsers root”

  4. add a space and your username to the end of the line.

                Example: AllowUsers root agustin

  1. Press Ctrl+O, Enter , Ctrl+X

  2. Now type and execute the following line to refresh or “restart” the ssh service.

    sudo service ssh restart

your user should now have ssh access minus root permissions