Sample Header Ad - 728x90

Transferring files using ssh on terminal

1 vote
1 answer
716 views
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?
Asked by bPelson (55 rep)
May 16, 2017, 01:42 AM
Last activity: May 16, 2017, 03:08 AM