1

I missed typed by scp command - didn't give target remote directory.

scp file root@remote-machine

It didn't say any errors and I don't know whether file is transferred or not . what happened here?

1
  • ls is your friend.. Jun 17, 2010 at 6:47

3 Answers 3

3

There was no transfer to the remote host. There should be a local copy called "root@remote-machine" in your current directory.

3

You didn't include a : and then a filepath on the remote server.

The filepath can be blank (i.e. the default directory), but missing out the colon means it is treated as a local file path and not a remote one.

2

It has not been copied to remote host, you've copied the file to file named "root@remote-machine". That's all.

1
  • Thanks,but seems like the file created in local machine called "root@remote-machine".
    – lakshmipathi
    Jun 17, 2010 at 6:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .