I am trying to scp a file from my local machine to a server. scp returns me a series of stars like this without copying any file:
[xx@xx ~]$ scp xx.tar [email protected]:~
[email protected]'s password:
****************************************************************
So the first thing: I entered the password correctly.
I also checked to make sure that scp works with other servers (only not this one).
scp works on this server, meaning that I can pull files into the server from a terminal logged on. Errors only happen when I try to push files into the server from other places. I tried different machines, they are all the same.
Try using absolute paths.
In other words, try ~/xx.tar IF IN FACT xx.tar in IN ~! Otherwise maybe something like: /absolute/path/to/xx.tar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With