I have a remote host called
myhost and I have some log files that I want to access in the terminal.
For example, I can access this in my browser:
But when I try this in the terminal
scp -p "username@myhost:/f$/logs/dev.log" "/home/Documents"
it gives me the 'cannot stat' error:
cp: cannot stat `username@myhost:/f$/logs/dev.log': No such file or directory
I have tried using
username@//myhost but still no luck.
Thanks in advance!