下载安装
#安装
yum install openssh-server
# 重启
systemctl restart sshd
# 开机自启
systemctl enable sshd
# 添加用户
adduser wzm
passwd wzm
配置文件
#位置
/etc/ssh/sshd_config
# 容许密码访问
PasswordAuthentication yes
#安装
yum install openssh-server
# 重启
systemctl restart sshd
# 开机自启
systemctl enable sshd
# 添加用户
adduser wzm
passwd wzm
#位置
/etc/ssh/sshd_config
# 容许密码访问
PasswordAuthentication yes
本文标题:SSH服务
本文链接:https://www.haomeiwen.com/subject/nktyrctx.html
网友评论