I try to copy files from a linux (ubuntu) machine to an external hard drive mounted on a mac but got an error message :
scp: ambiguous target
What I did is, I'm on a mac, ssh to the linux machine where files are. Then use the following command :
scp fileToCopy myMacUser@myMacMachine:/Volumes/MyExternalDrive/targetDirectory
What did I do wrong ? What is the good command to use in this case ?
-t; a remnant from a previoussshcommand) in the arg list; apparently it is not supported byscpbut the error I got wasambiguous target:( – Janaka Bandara Sep 12 '18 at 11:11