Step 1: Login into you AWS account and go to EC2 instances
Step 2: Select your instance and click connect
Step 2: Then click connect button at the bottom right corner
Step 3: Now a new tab will be opened with console as follows
Step 4: Copy your SSH public key then add the key to the following key file
Use this command in Mac/Windows powershell to copy your public key: pbcopy ~/.ssh/id_rsa.pub
nano ~/.ssh/authorized_keys
Step 5: Save and reboot then try to connect again with device from which public key generated.
No comments:
Post a Comment