Can files be copied from an Ubuntu VM to a Windows host without SSH?
I ask this since coping files via SSH requires me to install an SSH server on Windows (either on Windows itself or on WSL) and I would rather pass on that as I don't have any other reason to do so.
This should use me to backup my files.
What I do now to backup files to WSL:
( sudo mysqldump -u root --password --all-databases > /var/www/html/db.sql sudo zip -r /var/www/html/dr.zip /var/www/html sudo scp /var/www/html/db.sql /var/www/html/dr.zip USER@IP:/mnt/c/Users/USER/Desktop/ sudo rm /var/www/html/db.sql /var/www/html/dr.zip )
As you can see I use the above code block to copy files from my Ubuntu to Windows via SSH.
I aspire to run a similar command set in Ubuntu to copy my files to the host machine (Windows) but this time without SSH and with some local way.