I am getting an error when I try to copy a file from my local computer to a remote server with
ssh. I get the same error whether I use
Here is my input at the resulting error:
[firstname.lastname@example.org /]# cp /home/username/some.xml email@example.com:/path/to/directory/ cp: cannot stat ‘/home/username/some.xml’: No such file or directory
I have checked, and there is definitely a file at the path
/home/username/some.xml on my local machine.
Both the local computer and the remote server are running
CentOS 7. How can I resolve this error and copy successfully?