I have file on remote machine. I can list it:
ssh matous@xxx ls -la
the file is in the reponse:
...
-rw-r--r-- 1 matous matous 796672 Oct 11 11:12 D1.db
...
Now If I try to scp it to my local machine:
scp matous@xxx/D1.db /home/matous
I get error:
cp: cannot stat 'matous@x/D1.db': No such file or directory
How is it possible that file exists and cannot be stated? What I am missing?