scp does not copy to a server???
Hi,
I have a really strange problem today. I am trying to copy some files to my server with scp. I do this once a week, but today scp does not work. scp does not work with any server at all, not only with mine, and instead of copying file to a server, it creates new local copy. look at this: Code:
mm@x31:~/Desktop$ ls -la txt.sql this line "Executing: cp txt.sql mm@myserver" is strange. it runs "cp" instead of scp without visible reason for me. no mather what I do, it always creates a local copy and it shows no errors. scp is not symlink to cp, or an alias or whatever. any ideas???? Thanks a lot. M. |
You are using the wrong syntax. You need to name the location on the server to place the file
Code:
scp localfile user@server:/remotefile |
Quote:
Code:
scp -v -P12345 txt.sql mm@myserver: |
oooooohhhhh ....
me stupid or blind :) ... no idea what happened :). thanks M. |
All times are GMT -5. The time now is 06:02 PM. |