Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Facing a problem while using scp to download a file from AWS EC2 instance(to which I have assigned a elastic IP),scp is ignoring the my-store folder. But when i access the ec2 instance over ssh, I can see, access the my-store folder.

This is the code I type on my local terminal.

scp -i Downloads/spree-store.pem ubuntu@ /. scp: /home/ubuntu/my-store: No such file or directory

Main purpose of this question was to edit text files remotely over ssh, vim is by far the best option this article explains how to install vim and get it running

P.S:use :e . to get vim to list all the files in the directory.

share|improve this question

For transferring directories with scp you must always use -r.

Normally though, the expected error message would tell you that my-store is not a regular file (which it clearly isn't) rather than stating that there's no such file or directory.

Also unless you really want "/" (your system root) as destination, remove the the slash before the dot.

share|improve this answer

You must log in to answer this question.

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