耿昭

导航

2020年3月3日 #

ubuntu16.04 ssh禁止密钥登陆

摘要: 1 在服务器上生成密钥 # ssh-keygen 2 创建目录 # tounch authorized_keys 3 给权限 # chmod 600 authorized_keys 4 修改/etc/ssh/sshd_config #禁用密码验证PasswordAuthentication no#启 阅读全文

posted @ 2020-03-03 14:19 耿昭 阅读(766) 评论(0) 推荐(0) 编辑