Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from Jun 17 '10 at 21:56

This question came from our site for professional and enthusiast programmers.

ls is your friend.. – ThiefMaster Jun 17 '10 at 6:47
up vote 3 down vote accepted

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

share|improve this answer

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.

share|improve this answer

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

share|improve this answer
Thanks,but seems like the file created in local machine called "root@remote-machine". – lakshmipathi Jun 17 '10 at 6:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.