DevOps Classroom notes 26/Jul/2025

Understanding SSH

  • We create a key pair which includes private & public key
  • public key is copied into linux
  • using ssh command ssh -i <path to private key> username@ipadress we establish the connection password less
    Preview
  • The default location of keys on any os
    • private ~/.ssh/id_<algo>
    • public ~/.ssh/id_<algo>.pub
  • To create a key pair the command is ssh-keygen

Key Pairs in AWS

  • While creating ec2 instances we can get the keys generated by AWS, AWS gives us the private key and keeps the public key.
  • While create ec2 AWS will copy the public key into linux machines for ssh connectivity
  • AWS also allows you to use your keys i.e. you import public key into AWS key pair
  • AWS Keys belong to a region
  • AWS EC2 instances by default will not have passwords enabled

Key Pairs in Azure

  • Azure has a service called as SSH Keys
  • While creating VMs in Azyre we can get the keys generated by SSH Keys, Azure gives us the private key and keeps the public key.
  • While create VM Azure will copy the public key into linux machines for ssh connectivity
  • Azure also allows you to use your keys i.e. you import public key into SSH Keys service
  • Azure allows both password & Key based.

Lets import ssh key into AWS

  • For AWS watch classroom video
  • In Azure Refer Here for importing and generating keys

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube