Welcome back to Day 22. In this lab, you will learn how to set up secure SSH access to an EC2 instance without using a password. You need to create an EC2 instance and name it nautilus-ec2. Then, generate an SSH key on the aws-client host.








After setting up an EC2 instance, generate an SSH key using the ssh-keygen command. You need to upload your id_rsa.pub key file to the EC2 instance's root SSH authorized_keys.







Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 23. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.