LOGIN INTO LINUX KALI EC2 INSTANCE FAILURE

0

Gives login failed error when I try to SSH into it using EC2 instance connect.

Mwangi
已提问 2 年前993 查看次数
1 回答
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.

https://aws.amazon.com/marketplace/pp/prodview-fznsw3f7mq7to?ref_=aws-mp-console-subscription-detail#pdp-usage

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

profile picture
专家
iwasa
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则