Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

XSHELL connection KALI system detailed settings

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

For the convenience of work, use xshell to connect the Kali system running in the virtual machine

Kali2.0

Xshll:5

Process:

The IP address obtained in the virtual machine

An error message appears after entering the password and waiting:

There are two kinds of problems that can arise:

1. The account password is incorrect

2. The sshd setting does not allow root users to log in remotely with a password.

In the second case, let's solve the problem.

Ssh link can remotely manage linux devices. The default port is 22. When the system is installed, it is not enabled by default, and the configuration file needs to be modified.

1. Modify / etc/ssh/sshd_config configuration file

1. Find # PasswordAuthentication yes and remove the comments from #

two。 Modify the PermitRootLogin without-password to:

PermitRootLogin yes

When you are finished, press the ESC key and enter wq for shift+:,. Save exit.

3. Then start the ssh service, do not link at this time, because the link is not available

The command is: / etc/init.d/ssh start

4. Then set the boot to start automatically

The command is: update-rc.d ssh enable

5. Restart the system this time and use xshell to link

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report