I'm still getting Access denied or Permission denied using your 8 lines of vsftpd.conf for my /etc/vsftpd.conf file with the username I setup. If I use root as the login, WinSCP responds with "Cannot initialize SFTP protocol.", Connection has been unexpectedly closed.
I have 3 HD, connected to my Linksys wrt3200 router shared via Samba, NTFS.
openwrt to openwrt works too, this was however 22.03 connecting to 19.07.
root@OpenWrt:~# scp firstname.lastname@example.org:/etc/config/firewall .
Host '192.168.10.240' is not in the trusted hosts file.
(ssh-rsa fingerprint SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Do you want to continue connecting? (y/n) y
firewall 100% 2628 2.6KB/s 00:00
I need to connect from the WAN side using sftp clients or something other than plain ftp. Maybe using VLC as the client, it has sftp and ftp.
All files in /mnt/sdxx are set rwx for the owner (root), group, and others. Was wondering if the problem is root owns the files, I haven't been able to change the owner, I've used the chown command multiple times. I do a ls -l on the /mnt/sdxx, root persistently is the owner after doing multiple chown commands or changing rights. The instructions for setting up the permission or chown are minimal when reading the OpenWrt instructions for FTP and/or Samba.
OK a few and I confirms that SCP works with vsftp, but does this work from the WAN side with port forwarding setup?