0

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

Community
  • 1
  • 1
Cher
  • 2,789
  • 10
  • 37
  • 64

1 Answers1

1

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
Baris Demiray
  • 1,539
  • 24
  • 35
  • wow thanks... actually I don't get it because I gave it a try before... oh well now it works it's what matter!! – Cher May 28 '15 at 16:22