Efficiently Transfer Files to EC2 Instance: Step-by-Step Guide Using SCP Command

Efficiently Transfer Files to EC2 Instance: Step-by-Step Guide Using SCP Command

AOS Note

4 года назад

26,012 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@organicshadows
@organicshadows - 08.01.2024 16:01

This helped me so much!
Blessings be upon you!

Ответить
@barryabrams6071
@barryabrams6071 - 14.10.2023 19:26

Thank you
Do you have a video for cloning a GitHub repository to an EC2 instance? Should the repo be saved on local machine and copied to EC2 instance? This is a confusing process to me.

Ответить
@kibalamajames4813
@kibalamajames4813 - 14.04.2023 10:31

thank you for saving my day

Ответить
@synkked
@synkked - 11.12.2022 18:58

needed this so bad, thanks man!

Ответить
@peterkalu7948
@peterkalu7948 - 24.11.2022 06:10

Hello sir , do you have jenkins video in the aosnotes ?

Ответить
@atcdtechnology
@atcdtechnology - 15.09.2022 04:46

How to send files from Linux to Windows via Command Line. From Linux to Windows?

Ответить
@mauriciocervantes1670
@mauriciocervantes1670 - 02.06.2022 22:31

Thank you so much! I have spent two days trying to figure this out and nothing else has helped except your instructions.

Ответить
@naska8701
@naska8701 - 08.05.2022 22:41

I must say i love watching all your tutorials, great job in breaking it down which makes it simple for all to follow. Thanks.

Ответить
@rajeevagowda9567
@rajeevagowda9567 - 23.04.2022 08:49

Bro your tutorials are just to point and crystal clear. Thank you for making learning easy.

Ответить
@gudeboindy6674
@gudeboindy6674 - 15.04.2022 15:45

For those that putty didn't work for, use this command
scp -i ./ur key pair -r ./name of the file you want to transfer/* your ec2 @ec2 ip:/var/www/html

if the transfer denied by permission, run these commands on your aws cli for ec2 to
correct the permissions.

sudo chown root:root /home
sudo chmod 755 /home
sudo chown ec2-user:ec2-user /home/ec2-user -R
sudo chmod 700 /home/ec2-user /home/ec2-user/.ssh
sudo chmod 600 /home/ec2-user/.ssh/authorized_keys

Ответить
@aineshkumar884
@aineshkumar884 - 17.03.2022 16:47

Is there a way to do this on a mac?

Ответить
@DevOpsDevSecopsDreams
@DevOpsDevSecopsDreams - 15.02.2022 17:40

mannnnn its work iam tring in 2days

Ответить
@dorukergun8945
@dorukergun8945 - 18.01.2022 00:03

Hey thanks for the great explanation, you helped me with my graduation project big time!

Ответить
@sreehari7514
@sreehari7514 - 28.11.2021 08:46

thankyou bro !!

Ответить
@mayconalvesdealmeida3747
@mayconalvesdealmeida3747 - 14.09.2021 06:21

Man, thank you so much. I'm a beginner in Azure, but I used your explanation to send files to my instance and worked well.
Later I'll do in AWS, but this was the best explanation that I found. Thank you again

Ответить
@luahong2507
@luahong2507 - 30.07.2021 14:35

i got this error: "/var/www/html/wp-content/themes/toragon/header.php: Permission denied" . please help me, thanks!

Ответить
@dameritorres3515
@dameritorres3515 - 14.07.2021 08:05

Thank you thank you brother!! You just helped me tremendously 🙏

Ответить
@colmduffy2272
@colmduffy2272 - 28.05.2021 15:26

I was trying this for ages, and I ended up utilising filezilla. But this is the first tutorial that I have found that explains how to do this via PuTTY and the CLI. Well explained and detailed, does not gloss over any pieces. Thanks a million man, I finally managed to get this to work by following this.

Ответить
@vinayhegde9888
@vinayhegde9888 - 28.05.2021 09:43

Your are Awesome. Thanks.

Ответить
@TheMarlonator
@TheMarlonator - 16.05.2021 12:09

Nice job!

Ответить
@AdhilJayan
@AdhilJayan - 06.05.2021 10:24

Great You Helped me lot.

Ответить
@shreyasurs4032
@shreyasurs4032 - 10.04.2021 17:33

Thanks for the detailed video. However I would like to do the opposite i.e. copy files from aws ubuntu instance to local windows 10. Please let me know how this can be achieved.

Ответить
@jacokpack01
@jacokpack01 - 05.04.2021 02:46

It was extremely useful. Thank you

Ответить
@betianafelice2773
@betianafelice2773 - 07.03.2021 21:51

Really good explained. Thanks!

Ответить
@Sanyat100
@Sanyat100 - 25.01.2021 13:38

vry vry detailed explanation brother !

Ответить
@prasadvaram
@prasadvaram - 10.11.2020 19:53

How is it that scp command dint throw you the error saying pem key is unprotected.. its erroring out for me..saying pem key file is too open

Ответить
@tanmayrane858
@tanmayrane858 - 29.07.2020 20:50

Getting error

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions for 'pk.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.

Ответить
@Sehajsingh-eh1qi
@Sehajsingh-eh1qi - 26.06.2020 16:26

Very nice bro

Ответить