Pages

Google Ads

Monday, May 19, 2014

How to SSH to Amazon EC2 ubuntu instance without using keypair

How to SSH to Amazon EC2 ubuntu instance without using keypair?

sudo vi /etc/ssh/sshd_config

Change from:

# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no

To:

# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yes


sudo service ssh reload

No comments: