安装centos7 Minimal后 开启远程SSH

官方目录

https://www.centos.org/download/
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso

进入系统

yum -y update
yum -y install wget curl unzip vim

编辑sshd文件

vim /etc/ssh/sshd_config

修改如下,如果前面有#号,则去除

PermitRootLogin yes

最后重启SSH服务

systemctl restart sshd 

你就可以用root用户远程登录了

你可能感兴趣的:(系统,服务器,平台)