1 Answer
- Newest
- Most votes
- Most comments
0
Hi, @Mwangi
Many patterns that fail on the first SSH connection on kali linux are when using the root user according to the EC2 console.
The default user for kali linux is "kali", as described in Usage Information below.
So you need to use kali@xxx.xxx.xxx.xxx instead of root@xxx.xxx.xxx.xxx.
Please also refer to the following.
https://dev.classmethod.jp/articles/craete-to-kali-linux-ec2/
If you still cannot connect, it is a network setting problem.
Follow normal EC2 troubleshooting to try the solution.
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-ssh-troubleshooting/?nc1=h_ls
Relevant content
- asked 2 years ago
- asked 8 months ago
- asked 4 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago