标签:开启 log stat star sys openssh pass 配置 ica
sudo yum install openssh* 安装
2. 设置 sudo vi /etc/ssh/sshd_config
首先先把port改掉
port 52222
限制用户
AllowUsers 使用者账号1 .....(添加进去)
取消注释
PermitEmptyPasswords no
PasswordAuthentication yes
限制root登陆
PermitRootLogin no
3. sudo systemctl restart sshd.service 重启服务
4. sudo systemctl enable sshd.service 开机启动
标签:开启 log stat star sys openssh pass 配置 ica
原文地址:http://www.cnblogs.com/chengsheng/p/6938540.html