ColoThor 大佬有话说 :
甲骨文arm自带ubuntu怎么使用密码登录
1、编辑/etc/ssh/sshd_config 文件 将PasswordAuthentication 的值改为 yes
2、https:// www . cnblogs . com/liujiaxin2018/p/14940308.html
上面都做了,并且重启了,还是不能密码登录
mika. 大佬有话说 :
本帖最后由 mika. 于 2021-11-11 17:36 编辑
看错了,修改掉
optimism 大佬有话说 :
没搞好
老公在这呢 大佬有话说 :
echo root:RUYO |sudo chpasswd root
sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLogin yes/g’ /etc/ssh/sshd_config;
sudo sed -i ‘s/^#?PasswordAuthentication.*/PasswordAuthentication yes/g’ /etc/ssh/sshd_config;
sudo service sshd restart
然后passwd改密码,以上代码设置的密码是RUYO
qshng 大佬有话说 :
我只想知道怎么开出的arm
cherbim 大佬有话说 :
PermitRootLogin这个也要改成yes
ColoThor 大佬有话说 :
cherbim 大佬有话说 : 2021-11-11 17:39
PermitRootLogin这个也要改成yes
谢谢,可以了
ColoThor 大佬有话说 :
mika. 大佬有话说 : 2021-11-11 17:34
看错了,修改掉
没错,就是要改 PermitRootLogin yes
ColoThor 大佬有话说 :
老公在这呢 大佬有话说 : 2021-11-11 17:37
echo root:RUYO |sudo chpasswd root
sudo sed -i ‘s/^#?PermitRootLogin.*/PermitRootLogin yes/g’ /etc/ …
谢谢各位大佬,可以了
ColoThor 大佬有话说 :
qshng 大佬有话说 : 2021-11-11 17:38
我只想知道怎么开出的arm
首尔,我是看到论坛帖子才去开的