Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Generate EC2 Key 
    1. If you has EC2 key, you can skip this step. 
    2. In the EC2 VM, generate key by using
      Code Block
      ssh-keygen
    3. Hence, we get id_rsa (private key) & id_rsa.pub (public key)
    4. Store into the folder in home/accountnumber/.ssh => /home/username/.ssh/filename
      Code Block
      mv id_rsa.pub authorized_keys 
    5. Move the private key into ubuntu
    6. Download id_rsa from local 
      Code Block
      scp root@1.1.1.1:/pwd ./
  2.  Connect to EC2:

...