I am trying to transfer a file to Computer A (my computer) from Computer B (the remote computer). I have looked through different threads, but nothing is working. First, I log onto Computer B using ssh which works fine. My code for the file transfer is
scp userB@hostB:~/Desktop/(file_name) ~/Desktop/
when I plug this in, it asks for Computer Bs password, which I enter. Then I get the error
scp: /Users/userB/Desktop/(file_name) : No such file or directory
I know that the file is there, however. What am I doing wrong?