一、ssh登陆群晖并切换获取root权限
二、修改sshd_config
vi /etc/ssh/sshd_config
先按一下“i”键进入编辑模式
将【#PermitRootLogin prohibit-password】改为 【PermitRootLogin yes】
直接按一下“esc”键,退出编辑模式,之后输入【:wq】保存
三、重启SSH服务
sudo systemctl restart sshd
四、设置root账户登陆密码
synouser --setpw root 密码
五、关闭ssh工具重新连接
- THE END -
最后修改:2025年2月18日
非特殊说明,本博所有文章均为博主原创。
如若转载,请注明出处:https://lg5.top/1492.html
Jaiden1935
Very good <a href="https://shorturl.at/2breu">https://shorturl.at/2breu</a>
Deborah2822
Good <a href="https://shorturl.at/2breu">https://shorturl.at/2breu</a>
Nolan3218
Awesome <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>
Jude2072
Awesome <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>
Cecilia3138
Good <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>
Asher2763
Good <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>
Carolina379
Awesome <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>
Serena4609
Very good <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>
Quentin1824
Awesome <a href="https://lc.cx/xjXBQT">https://lc.cx/xjXBQT</a>