系统环境:
centos7
具体方法:
以root权限执行
vim /etc/ssh/sshd_config
将
#PermitRootLogin yes
这一行的“#”去掉,修改为:
PermitRootLogin yes
推荐教程:centos教程
系统环境:
centos7
具体方法:
以root权限执行
vim /etc/ssh/sshd_config
将
#PermitRootLogin yes
这一行的“#”去掉,修改为:
PermitRootLogin yes
推荐教程:centos教程
文章来源:智云一二三科技
文章标题:centos如何开启远程访问
文章地址:https://www.zhihuclub.com/10759.shtml