I am on machine A and want to pull a file from machine B.
A$ scp <myuserid>@hostB:<path of file in B> .
it says that:
scp: <path of file in B>: No such file or directory
But on machine B, this file exists in this path.
What is going wrong?
feedback
|
|
You did't specify any file: you have to add the file (with path) after the colon
or
for a path relative to your home directory. If you don't specify a different user (i.e., the user on A and B are the same) you don't need the
| |||||||
feedback
|
|
You can specify either a file path that is relative to your home directory, or an absolute file path. For example, if
Note that if the file name contains characters that are special to the remote shell (typically whitespace or
If you have difficulties with files containing punctuation characters, try using
| |||
|
feedback
|