AWS EC2 SSH key management | How to launch and SSH into EC2 instance with public & private key pair

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

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

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

    I was a bit skeptical before watching this since I needed a very quick explanation for work, but after watching a few short videos, I didn't find them helpful, and I reluctantly clicked on this. This video was very clear and helpful. I have subscribed and plan on returning to this channel if I need more guidance with AWS.
    Thanks

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

    that climax moment when you have been working on something for so long and it just dont work and they the youtube tutorial makes it work. aaaahhhhhhhhh thank you Rahul

  • @Nagaraju-t4n
    @Nagaraju-t4n 6 месяцев назад

    i search so many videos, but i dint get this much clear explanation , to creating our own private and public keys generating and , how to connect it to the server. its soooo clear. help full to me.

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

      Glad to hear that

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

    The best way of explanation. Your voice too clear.

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

      Thank you so much 🙂

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

    Your video is very much appreciated, and helpful as well. Perhaps I may ask: How to change the key pair in any case is missing?

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

      Well it is pretty hard to change once you miss it. You have to provision new instance with new key

  • @gianluca_ruggieri
    @gianluca_ruggieri 3 года назад +1

    Thanks , greatly appreciate your sharing, helps so much especially when landing on Aws from more simple to use platforms like Digital ocean and linode..... 👍👍

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

    Thank you 😊 for the tutorial , you explains everything very nicely. Please tell me, connecting MySQL client with RDS, this SSH key pair file helps in connectivity? Can you please make a video using private key for connecting database client with RDS. Hope I’m not missing anything. Many thanks.

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

      I can add it to my list and may be in coming time I will prepare video around that

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

      @@RahulWagh many thanks , you are a good trainer. Everyone would be blessed to have a good teacher like you.

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

    what is the best practice that we should follow to save the private keys of all the ec2 instance securely ? how to securely share with colleagues of mine

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

      Use keystore to share the private key file with other colleagues

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

    Good video. At one point you say that 'ubuntu@' is your machine's IP address. A bit of nit. The first portion before @ is the userid. Numbers after @ sign are the actual IP address. AWS gives these default users such as 'ubuntu' for Ubuntu, 'ec2-user' for Amazon's Linux etc.

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

      Hey Rahul yeah that’s my machine ip

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

    Best Explaination . Thanks and Much Appreciated !

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

    Thanks for the video its very informative, however, I tried to run 'chmod 400' command on my local machine through 'cmd prompt' it says command not recognizable? Also, I am able to connect to ssh through my local machine but when you talk about 'terminal' are you using any other command prompt ?As even 'ls' command doesn't work on my local cmd.Please guide

  • @angadpartapsingh
    @angadpartapsingh 9 месяцев назад

    Thank you. That helps a lot.

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

    Hi Rahu,
    l Why we have to use two keys (private and public)?
    As I went through your video, you've logged in to ec2 machine thru public key and as well private key.
    So, what is the difference that you thru with private key and public key?

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

      If I understood your question then you are asking about private key and why I used it ?

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

      @@RahulWagh You created an EC2 with a private key, and then used the private key to connect. Then u created an EC2 with a public key, and used to public key to connect to it, so what's the point of creating a public key? Should u be able to connect into EC2 made with a private key, by using your public key ?

  • @Mini-uw2qe
    @Mini-uw2qe 3 года назад

    Hi Rahul, I really want to start with AWS EC2. can you please make videos step by step. Regularly watching your videos on terraform and helm. very easy explanations. thanks

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

      Surely it’s on my list just trying to find the time to prepare

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

    Thank you Rahul

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

    Can I use the same key for multiple EC2 Instances?

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

    Is keypair is region specific? If I have a launch ec2 in Mumbai region n I have download the key ...now I want to launch ec2 in N.virgina region so can I use same key ?

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

      you should configure the region using the command aws config along with secret key and token

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

    its good Bro, but i was looking for something else, once after created the instances how do we use our own keypairs

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

      Its upto you how you wanna use the keypairs. In the step 1 we have created a key pair public and private. Now private is sitting on my laptop and public is upto you and how you wanna share with other apps

  • @1985madhug
    @1985madhug 2 года назад

    Good explanation, thanks!

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

    Amazing , sir!

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

    Sir I have question
    At a time of launch instance we download private key, that means public key have near ec2 instance. where do we search this public key in to ec2 instance?

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

      Hmm that’s is an interesting question honestly I haven’t tried it but think it should be available in - .ssh/id_rsa.pub

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

    very clear and concise explanation. way to to Rahul

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

    sir i need help . i getting this massage . pls help me .
    chmod: cannot access 'ubuntu1.pem': no such file or directory on aws

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

      Check the path of your ubuntu1.pem file which might be wrong

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

    How do I download the private key from an existing, running instance? From the Network Security / Key Pairs console I can see the existing private AWS key but none of the Actions available include Download. How to download this?

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

      It is very tricky to download from existing instance i would recommend creating new one

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

    Thanks for uploading videos

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

    cool and very nice

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

    In Organization for logging into any of the servers we use only our EmpID/Password right. How the companies mange that ? can you please explain.
    where this public key is saved/tagged for logging to servers ? is that private key added to my acct by unix/Linux admin teams?

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

      Are asking about aws login or ssh login of server?

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

    Thanks you so much

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

    thanks for the reply

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

    Thankyu it works

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

    Hello Rahul sir, Can you please upload the video creating an EC2 instance with RedHat Linux machine on AWS and SSH with command prompt and Putty!

    • @RahulWagh
      @RahulWagh  3 года назад +1

      I will add to my list and you will see in upcoming weeks

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

    Still not working by your method still permission is denief while doing ssh

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

    Thanks man very helpful . you just save me a lot of time here . I can just subscribe on your chanel

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

      Thanks for the sub!

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

    thank you

  • @safaaal-wajidi4606
    @safaaal-wajidi4606 2 года назад

    Thanks

  • @rohitrajkumar
    @rohitrajkumar 11 месяцев назад

    Tell us how to access with user name and password using ssh

  • @rohitrajkumar
    @rohitrajkumar 11 месяцев назад

    Great

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

    super

  • @KapilSharma-jo3bq
    @KapilSharma-jo3bq 2 года назад +1

    Hi sir

  • @VinothKumar-wv3nw
    @VinothKumar-wv3nw Год назад

    I do have a doubt on Terraform File Provisioner. Can you provide your email ID for me to mail you the doubt ?