SCP – Ambiguous Target Error
| July 26th, 2016I ran into this issue today trying to copy a file from one of my Raspberry Pi devices (running Raspbian) to another. Turns out that its related to the space in the path. Now, I know that you can’t have spaces in Linux file names and/or paths, so I escaped it with a backslash like a good boy; however this did not help. It turns out, it also needs to be in quotes. Who knew?
Apparently this guy did: Mike’s Tech Blog
I couldn’t find anywhere to easily get in touch with him to thank him, so I’ll say it here. Thanks Mike!