I want to upload files from my local computer to a remote server SSH through MobaXterm. I keep running into different issues that simply don't allow me to do this. I'm running Debian GNU/linux 10 (buster)
I encountered a similar problem like OP in this thread. When using the drag and drop, the upload just stays at 0%.
I've tried the suggestions changing the SSH-browser type under advanced SSH settings, to SCP(enhanced speed) and SCP (normal speed). Neither fixed it. If i change it to SFTP I get "Permission denied" when I try to drag and drop.
I followed suggestions from this thread, using the scp command. However, I'm either doing something wrong when setting the path to the file i want to upload, or something else is wrong.
1. attempt: I tried doing the scp command just using one file. I've done this using the method below, and also tried adding the full path to it, like I've done in my 2. attempt.
scp file.wav root@IPaddress:/home/folder-i-want-to-upload-to/
2. attempt I then did it by defining the path of my local host path to the folder of files i want to upload. Doing it with and without -r
scp -r /C:/Users/Name/Desktop/Folder-with-my-files-in root@IPaddress:/home/folder-i-want-to-upload-to/ scp /C:/Users/Name/Desktop/Folder-with-my-files-in root@IPaddress:/home/folder-i-want-to-upload-to/
Both attempts connect to my remote host, and asks for a password. Once I put that in, I just get this error:
/C/Users/Name/Desktop/Folder-with-my-files-in: No such file or directory
Same error happens for all my attempts. I can't work out what I'm doing wrong.
Ideally I just want to do the drag and drop. I've run it all through root access. I can write to all folders.