Enabling Password Authentication

If you want to use SCP-based or SFTP-based features (for example, SCP-based backup or restore) on the server instance that is created using the AMIs from AWS Marketplace, you must enable password authentication on that instance.
Note: LogLogic LMI supports only password authentication for SSH connections to LogLogic EVA in AWS.

Procedure

  1. By using the default user, log on to the server instance.
  2. Run the following commands to setup the password and SSH access:
    1. sudo su
    2. passwd <username>
    3. vi /etc/ssh/sshd_config
      In this file, uncomment the line: PasswordAuthentication yes
  3. Restart the sshd.
    For Redhat-based instances, use the command: service sshd restart.