Reputation: 2947
my command is
scp .deploy/deploy.sh [email protected]
I double checked it with this forum Transferring files over SSH
however it doesn't give any error, neither it does the copy. I also do lot of ssh at [email protected], without problem
am I missing something? even if I change the address to have a bad address, it doesn't give me error... but since ssh connect with the same root@... I guess the address should be fine
Upvotes: 0
Views: 306
Reputation: 1607
You need a colon at the end of the command,
scp .deploy/deploy.sh [email protected]:
Or, if you want to put it in another directory under /root/temporary
, for example, try,
scp .deploy/deploy.sh [email protected]:./temporary
Upvotes: 1