Amazon-Web-Services – How to download files from EC2 instances to your local computer

I have an instance of ec2.it with some files. I tried to download my files from the ec2 instance to my local Ubuntu 13.10.i and run this command

scp -i /home/ritesh/.ssh/id_rsa2 [email protected]:/home/apps/dev/comp-eng/arena-client/build/arena-client -7.1.0.zip

I got it in the output

Usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-L limit] [-o ssh_option] [-P port] [-S program]
[[user @] host1:] file1… [[user @] host2:] file2

I am using the correct format. Why am I facing this error instead of downloading the file?

You need to specify the download location. If it is the current directory, you only need to add one..

scp -i /home/ritesh/.ssh/id_rsa2 [email protected]:/home/apps/dev/comp-eng/arena-client/build/arena-client-7.1 .0.zip.

I have an instance of ec2.it with some files.i tried to download my files from the ec2 instance to my local Ubuntu 13.10.i to run This command

scp -i /home/ritesh/.ssh/id_rsa2 [email protected]:/home/apps/dev/comp-eng/ arena-client/build/arena-client-7.1.0.zip

In the output I get

Usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user @] host1:] file1… [[user @] host2: ] file2

I am using the correct format. Why am I facing this error instead of downloading the file?

You need to specify the download location. If it is the current directory, you only need to add one..

scp -i / home/ritesh/.ssh/id_rsa2 [email protected]:/home/apps/dev/comp-eng/arena-client/build/arena-client-7.1.0.zip.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1886 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.