Centos虚拟机账号密码登录

2019-4-1 Stone 运维

Centos虚拟机关闭只允许ssh登录
sudo vim /etc/ssh/sshd_config

PasswordAuthentication  yes


然后重启sshd服务
service sshd restart

标签: ssh登录

Copyright © 2019 by 海角孤星 京ICP备15056837号-1