kali open SSH service

Modify the configuration file

sudo vim /etc/ssh/sshd_config
  • The #PasswordAuthentication noNotes to remove and NOmodify YES.

  • Will be PermitRootLogin xxxxxxrevised to PermitRootLogin yes.

  • :wq Save and exit

Starting the SSH daemon

sudo /etc/init.d/ssh start

complete test

In PowerShell (or other Linux), use the SSH command to verify.

Guess you like

Origin www.cnblogs.com/Yogile/p/12515610.html