Showing posts with label Enable direct ssh access to EC2 instance without .pem key. Show all posts
Showing posts with label Enable direct ssh access to EC2 instance without .pem key. Show all posts

Wednesday, June 7, 2017

Enable direct ssh access to EC2 instance without .pem key

Enable password authentication by editing /etc/ssh/sshd_config: change PasswordAuthentication no to PasswordAuthentication yes

Restart ssh:

sudo /etc/init.d/ssh restart

systemctl  restart sshd (for RHEL7)