Less password ssh setup in AWS EC2 instances

Image for post
Image for post
Photo by Kristaps Ungurs on Unsplash

Enable Authentication on instances for sshd service

Change

Set Unix password

Restart ssh and sshd service

Set authorized_keys in one server.

ssh-copy-id to each instances

Then you’re good to go with

Hope it helps~~

~~PEACE~~

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store