Это видео недоступно.
Сожалеем об этом.

SSH to EC2 Instances using Linux or Mac Tutorial

Поделиться
HTML-код
  • Опубликовано: 24 фев 2021
  • Learn how to SSH into your EC2 instance, to control it from the command line using Linux or Mac!
    If you want to learn more: links.datacumulus.com/aws-cer... (AWS Certified Developer) or links.datacumulus.com/aws-cer... (AWS Certified Solutions Architect)
    Get the Ultimate AWS Certified Developer Associate 2023 course or the Ultimate AWS Certified Solutions Architect Associate 2023 course at a special price!
    Don’t forget to subscribe to get more content about Apache Kafka and AWS!
    I'm Stephane Maarek, a consultant and software developer, and I have a particular interest in everything related to Big Data, Cloud and API. I sat on the 2019 Program Committee organizing the Kafka Summit. I'm also an AWS Certified Solutions Architect, Developer, SysOps Administrator, and DevOps Engineer.
    My other courses are available here: courses.datacumulus.com/
    Follow me on social media:
    LinkedIn - / stephanemaarek
    Twitter - / stephanemaarek
    Medium - / stephane.maarek

Комментарии • 97

  • @StephaneMaarek
    @StephaneMaarek  3 года назад +2

    If you want to learn more, check out my AWS Certified Solutions Architect Associate 2021 course: links.datacumulus.com/aws-certified-sa-associate-coupon or my AWS Certified Developer Associate 2021 course: links.datacumulus.com/aws-certified-dev-coupon

  • @PNWDOM
    @PNWDOM 4 месяца назад +2

    Learned more from your 5 minute video than I did from my Professor all week. Thanks!

  • @pearllll178
    @pearllll178 2 года назад +2

    Thank you so much for posting such a useful tutorial! This helps a lot with my homework!

  • @manochandra
    @manochandra 2 года назад

    Amazing video , great tutorial , i usually do not subscribe to channels , this time i did it in a heartbeat.

  • @hugomalorey9704
    @hugomalorey9704 2 года назад +10

    Simple, quick and crystal clear, thanks!

  • @live4heart80
    @live4heart80 2 года назад

    Had a lot of confusion. While watching your video, everything made sense!

  • @dennisosei3174
    @dennisosei3174 Год назад

    Was having troubles, this video helped me. Thanks.

  • @kumarswamyn.b5784
    @kumarswamyn.b5784 Год назад

    the straight solution to the problem. Great video!

  • @CanadaColors
    @CanadaColors 2 года назад

    Thank you so much for this video. It answered by doubt in a jiffy.

  • @nimishakashyap
    @nimishakashyap 4 месяца назад

    thank you for this simplified video. it helps a lot.

  • @abotmo7301
    @abotmo7301 Год назад

    so helpful and clear explanation , thank you so much!

  • @Bossmanpicks
    @Bossmanpicks Месяц назад

    Amazing video !

  • @torontocommunityfordataent2021
    @torontocommunityfordataent2021 2 года назад

    wow!! amazing video. Answered so many question!

  • @user-ce3lm7sz1k
    @user-ce3lm7sz1k 2 года назад

    great job man! i appreciate your help!

  • @khanyasser
    @khanyasser 2 года назад

    Thank You for posting this!!

  • @mikeykitili9609
    @mikeykitili9609 2 года назад

    Stay blessed, this video has helped me a lot

  • @javascript_developer
    @javascript_developer 2 года назад

    amazing.. great help. thank each step was a disaster before i watch this video

  • @GhostCrypto-tm1tl
    @GhostCrypto-tm1tl Год назад

    Thanks a lot for the detailed explanation .

  • @thedarkking7581
    @thedarkking7581 3 года назад

    I'm really grateful for this content

  • @loserinc123
    @loserinc123 3 месяца назад

    This man does things so simply.

  • @zainabbasmerchant9650
    @zainabbasmerchant9650 2 месяца назад

    Thanks a lot very helpful

  • @user-kx9tk3qf4k
    @user-kx9tk3qf4k Месяц назад

    great teachings man

  • @krupatejpalukuri6110
    @krupatejpalukuri6110 Год назад

    Mind-blowing explanation.

  • @moedweik9523
    @moedweik9523 Год назад

    Excellent Video!

  • @joshuasalley8010
    @joshuasalley8010 3 месяца назад

    Thank you!

  • @picozzimichele
    @picozzimichele 2 года назад +1

    great! Good alternative for mac that cannot install putty files :D super easy big like!

  • @youdahegebremariam6999
    @youdahegebremariam6999 3 года назад

    Thanks this was very helpful

  • @anirudh5101
    @anirudh5101 4 месяца назад

    Amazing video easy to understand btw i was using macbook and it worked perfectly

  • @nadiamarquardt1648
    @nadiamarquardt1648 2 года назад +24

    Heyy loved the video but I just have one question... how do you save the key file (EC2Tutorial.pem) into the virtual machine?

    • @eliasamsosa1450
      @eliasamsosa1450 4 месяца назад

      Your browser automatically downloads the key when it is created

  • @theloser6212
    @theloser6212 2 года назад

    Nice explaination bro, thanks btw

  • @AshishKumar-bu2di
    @AshishKumar-bu2di Год назад

    Thanks bro ,again a big thanks ❤

  • @mubarakharuna6425
    @mubarakharuna6425 Год назад +4

    Where did you download the .pem key file from?

  • @Heavy1021
    @Heavy1021 Год назад

    Thank you bro!

  • @leoleo-sp1db
    @leoleo-sp1db 2 года назад

    What about adding a visual element over SSH? Could you walk through the steps of doing that? to be able to see your AWS operating systems desktop - thanks good video

  • @AwesomeAsh99
    @AwesomeAsh99 Год назад

    what iterm theme are you using, I've always wanted to be able to highlight the working dir on terminal

  • @user-xk6mf2jj3p
    @user-xk6mf2jj3p 8 месяцев назад +2

    How did you get the .pem file?

  • @preethisivaa2881
    @preethisivaa2881 3 года назад

    thank you stephan

  • @Fsdwh
    @Fsdwh Год назад

    Thanks it is helpful

  • @samus7839
    @samus7839 3 года назад

    Thank you

  • @jagadeeshbaskaran4881
    @jagadeeshbaskaran4881 Год назад

    does the private key needs to be created when we create the instance?

  • @aryankumar87771
    @aryankumar87771 Год назад +1

    what is the significance of chmod 400 ? is this some kind of a security thing ? will it stop a hacker from reading the pem key, if yes how ?

  • @supriyopaul1810
    @supriyopaul1810 3 месяца назад

    tnx buddy

  • @intimidate123
    @intimidate123 4 месяца назад

    If you dont have static IP for ec2 and you reboot server you still have to grab new ip correct?

  • @edunwa3679
    @edunwa3679 Год назад

    Nice!!

  • @bhaskarthummala1455
    @bhaskarthummala1455 3 года назад

    you just saved me, i was trying to install putty

  • @huzaifaali1316
    @huzaifaali1316 24 дня назад

    which key should be pasted in .pem file and how?

  • @nathanpetronzio6919
    @nathanpetronzio6919 8 месяцев назад

    What terminal do you use for Mac?
    I couldn’t quite catch what you said, it sounded like “iturn” ?

  • @Hey_ImNishat
    @Hey_ImNishat Год назад

    from where I have to run the shown command to access the AWS Linux instance. I am unable to login into my AWS Linux instance, I tried all the mentioned commands to run from my windows power shell.

  • @dianamustakhova2332
    @dianamustakhova2332 Год назад

    thanks a lot

  • @JehadiHellTransportAgency
    @JehadiHellTransportAgency 2 года назад

    thanks 😀😀😀

  • @khanyasser
    @khanyasser 2 года назад

    A follow up question, how can I run a python script from here

  • @rishabsharma5307
    @rishabsharma5307 2 года назад

    thanks

  • @ajithdevadiga9939
    @ajithdevadiga9939 2 года назад

    the key which I downloaded has .cer extension and is not working when placed in the ssh command

  • @kirilyakovlev6024
    @kirilyakovlev6024 2 года назад

    man, thanks a lot

  • @aswanivaleti5754
    @aswanivaleti5754 Месяц назад

    Hi Stephene Maarek
    i am unable to connect my EC2 machine ssh: connect to host IP port 22: Connection timed out
    in my security group no issue is there. public IP is not generated while iam creating EC2 machine

  • @El.Desarrollador
    @El.Desarrollador Год назад

    I love you!

  • @Glitchiedageek
    @Glitchiedageek 2 года назад

    It’s not letting add the certificate to my keychain. What do I do?

  • @chintalaganesh8886
    @chintalaganesh8886 3 месяца назад

    could you please help me I didn't find .pem file .where we can download ?

  • @navinn9744
    @navinn9744 3 года назад

    Sir give information about community cloud ☁️

  • @JairoAndresAmaya
    @JairoAndresAmaya 2 года назад

    THANKS !!!1

  • @Zerospy
    @Zerospy Месяц назад

    Where i can find the .PEM?

  • @asakzai2022
    @asakzai2022 Год назад

    plz can anyone tell me how he downloaded the EC2.pem key ?

  • @SonnyWest87
    @SonnyWest87 2 года назад +2

    Is this the private or public AWS key you're using in the video? Where did you ssh from? Inside your project? Inside the .ssh folder?

    • @emmarose9466
      @emmarose9466 2 года назад +3

      He's using a private key. Any ssh outlets such as git bash, mobaxterm, Powershell... should work.
      A tip is to open your private key folder with a ssh outlet directly so you don't have to worry abt cd into the right file.

    • @RidersofChaos673
      @RidersofChaos673 8 месяцев назад

      hey can you tell me where he download that ec2tutorial.pem file from?@@emmarose9466

  • @samedtorun3365
    @samedtorun3365 Год назад

    dude how did you get the .pem file that easily?

  • @ismailhunaid7504
    @ismailhunaid7504 Год назад

    Sir how can I access Ubuntu on AWS ?

  • @derrickmkandla6019
    @derrickmkandla6019 3 года назад +11

    Very frustrated...I am not an experienced developer and I am using iTerm2 on my MAC to try and access my new EC2 instant and everything works fine up to the point where I enter the chmod 0400 line. When I then enter ssh -i with my private key and ec2-user@host command, instead of letting me into my EC2 new instance, I getting a "Permission denied (publickey)" It is as though the chmod 0400 command has changed the Private key to a Public key, making it totally useless.

    • @sageleaf8962
      @sageleaf8962 2 года назад

      Same here.

    • @thiagosrpt
      @thiagosrpt 2 года назад

      @@sageleaf8962 same :/

    • @ltserge3226
      @ltserge3226 2 года назад

      im having same problem

    • @nicumo
      @nicumo 2 года назад +7

      Try ubuntu@host instead of ec2-user@host

    • @ltserge3226
      @ltserge3226 2 года назад

      Ok I solved my problem, I was connecting to a second computer, I created the key pair on one computer, and then I tried to use same one on other, I prob suck at explaining but if U tried to do 2 pcs what worked for me was transferring the pem file from one pc to other via messenger

  • @Everton_88
    @Everton_88 2 года назад

    tks

  • @navinn9744
    @navinn9744 3 года назад

    I tried connecting Windows Server through putty , it is working
    We connect both Linux, Windows through putty using SSH

  • @bellio2095
    @bellio2095 2 года назад

    HOW DO I DOWNLOAD THE PEM FILE ON MY MAC. I'M clicking download but nothing comes up. No PPK, nothing. I'm in a aws class and I need to download these files to do the lab. Is there a way I can fix it?

  • @CactusJack252
    @CactusJack252 6 месяцев назад

    I did this and still receive permission denied (publickey)

  • @fernandogpz
    @fernandogpz Год назад +1

    Wait what, you show how to connect to ssh but not how to generate the pem? :/

  • @riccoc.6507
    @riccoc.6507 Год назад +1

    Where do you download the key file

  • @user-uq9mn7vd1s
    @user-uq9mn7vd1s 11 месяцев назад

    i dont get this at all it always says "Permission denied" no matter what i do.

  • @herdata_eo4492
    @herdata_eo4492 2 года назад

    yay this helps!

  • @williamleke1810
    @williamleke1810 7 месяцев назад +1

    I keep getting this error " Permission denied (publickey,gssapi-keyex,gssapi-with-mic)." Please can you help?

  • @ecstatic6133
    @ecstatic6133 Год назад

    thanks