This script help to Enable Password Authentication in AWS ec2 Instances
test@baraka:~/ssh$ bash ssh.sh
████ ████ █ █ ██ █ █ ████
█ █ █ █ █ █ █ █ █
████ ████ ██████ █ █ █ █ ████
█ █ █ █ ██████ █ ██ █ █
█ █ █ █ █ █ █ █ ██ ██ █ █
████ ████ █ █ █ █ █ █ ████
SSH AWS
by barcrange
Enter the IP address: Your_ip
Enter the username: Username
Enter the path to the SSH key file: location_pem
New password: P@55w0rd
Retype new password: P@55w0rd
passwd: password updated successfully
Enter your new password for SSH: Pseudo-terminal will not be allocated because stdin is not a terminal.
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-1033-aws x86_64)