Linux ssh服务开启root和密码认证登陆

打开 vi /etc/ssh/sshd_config

找到 PermitRootLogin(root认证登陆) 和PasswordAuthenticattion(密码认证登陆) 两项属性,值都改成yes

保存文件

你可能感兴趣的:(Linux)