current position:Home>Linux changes the SSH connection mode, changes the public key to the user name and password, and logs in

Linux changes the SSH connection mode, changes the public key to the user name and password, and logs in

2022-05-15 05:14:10Tuhey

1.vim /etc/ssh/sshd_config 
2.PermitRootLogin no  Change it to  PermitRootLogin yes
3.service restart sshd

copyright notice
author[Tuhey],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/135/202205142227278033.html

Random recommended