quote it twice: scp hostname.example:"'some file with spaces'" ./ hint: to get the path, you can have an ssh window open on the remote side. find a file you want, go: realpath filename and copy & paste that.