SSH without .pem file

How do I SSH EC2 instance with just userID and Password instead using .pem file? I was expecting to see this example in the Solution Architect - associate course, but it doesn't cover it.
 I believe people use userID and Password in real prod environment.
  • post-author-pic
    Ali M

    Hi Ulhas,

    Use of User/Password for SSH connections is not the recommended way even by AWS themselves; I assume, for that particular reason it's not mentioned in the course. 

  • post-author-pic
    Sean G

    If you do want to connect with just username and password, you will need to edit the /etc/ssh/sshd_config file and enable password authentication. 

Looking For Team Training?

Learn More