Create SSH User on EC2 Bitnami Wordpress

November 11th, 2018
  1. SSH on to the server using our PEM key ssh -i /Users/our_user/.ssh/our_pem_file.pem [email protected]
  2. Create another user so we’re not using ubuntu, bitnami or root CREATE USER ‘our_new_user@‘localhost' IDENTIFIED BY ‘some_strong_password’; or CREATE USER 'our_new_user'@'%' IDENTIFIED BY 'some_strong_password';
  3. Give the new user all privileges GRANT ALL PRIVILEGES ON *.* to our_new_user@localhost IDENTIFIED BY 'some_strong_password' WITH GRANT OPTION;
  4. Flush privileges to FLUSH PRIVILEGES;
  5. Exit Exit;