Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Assuming you are using the vanilla AWS Linux.

Start an editor, vi or whatever, and load the sshd config:
sudo vi /etc/ssh/sshd_config

Allow root login and password authentication by commenting/uncommenting:

…
PermitRootLogin yes
# Only allow root to run commands over ssh, no shell
#PermitRootLogin forced-commands-only
…
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords no
# EC2 uses keys for remote access
#PasswordAuthentication no
…
  • No labels