This section describes how to launch and connect to Kali Linux in Browser on Amazon Web Services (AWS).
On the EC2 Console page, instance is up and running. To connect to this instance through putty, copy the IPv4 Public IP Address
(refer Putty Guide for details on how to connect using putty/ssh)
Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to **SSH- >Auth **, click on Open.
login as ubuntu.
run below command to connect to kali terminal from ssh command prompt.
sudo docker exec -it kali-linux /bin/bash
Note: Please use https and not http in the URL when accessing Kali Linux GUI, e.g. https ://35.223.255.180/vnc.html
Now you are connected to out of box Kali GUI Linux environment via Browser.
After your first login, Open terminal and run below command to change the root user password.
x11vnc -storepasswd
Once the passwd is set, reboot the vm and re-login with root user and new password. -
Now your are connected to out of box Kali GUI Linux via browser which comes with preinstalled kali tools and apps.
To SSH to the VM copy the public IP of the VM and paste it in putty. Login to instance using SSH via key based authentication. Use “ubuntu” as userid (refer Putty Guide for details on how to connect using putty/ssh)
Run below command to connect to kali terminal from ssh command prompt.
sudo docker exec -it kali-linux /bin/bash
sudo docker start kali-linux