centos7开启ssh服务命令 centos7怎么配置ssh服务?
centos7怎么配置ssh服务?1. 安装openssh serveryum安装-y OpenSSL openssh-server2。修改配置文件并用vim_uconfig打开配置文件/etc/SS
centos7怎么配置ssh服务?
1. 安装openssh serveryum安装-y OpenSSL openssh-server2。修改配置文件并用vim_uconfig打开配置文件/etc/SSH/sshd,打开上图中的permitrotlogin、rsaauthentication和pubkeyauthentication的设置。启动SSH服务:systemctl Startsshd.服务将SSH service systemctl enable设置为开机后自动启动sshd.服务