Get the App
SLTechnology News&Howtos  ›  Network Security  › 

XSHELL connection KALI system detailed settings

Shulou Source: shulou.com Published: 2022-06-01 02:19:53 10月04日 Update

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

Tags: Links systems passwords commands situations files inputs configurations information addresses comments users ports devices accounts procedures remote management errors problems install Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Docker NVidia Shulou Technology macOS