yamatu / yamatu.github.io

个人blog
https://yamatu.github.io/
2 stars 0 forks source link

Google云修改账号密码 | yamatublog #9

Open yamatu opened 1 year ago

yamatu commented 1 year ago

https://yamatu.gitee.io/2022/01/26/Google/

使用命令 1vi /etc/ssh/sshd_config 编辑配置文件,按一下i即可进入编辑模式 找到PermitRootLogin并修改参数值为yes,如果前面有#删除掉 找到PasswordAuthentication同样是修改参数值为yes,如果前面有#也删除掉 接着按Esc键,再输入:wq后回车保存退出 重启SSH服务使用 1service sshd restart 或者 1/