Under Linux, cancel key login during SSH login

888u

Last update at :2024-06-30,Edit by888u

Generally, key login is added, this is to cancel key login.

Log in to the VPS management background, log in to the Console, and log in with the root user and password.

vi /etc/ssh/sshd_config

Find the two lines RSAAuthentication and PubkeyAuthentication, change the following yes to no, and then save.

Restart SSH service

/etc/init.d/sshd restart

This will allow you to use an SSH client to log in using your username and password.

Recommended site searches: .net virtual host, Hong Kong cn2 server, foreign PHP host, Chinese IP segment, foreign trade host, foreign free space, Taiwan host same IP site query, cloud host, free US host,

Under Linux, cancel key login during SSH login

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码