Browse Source

Изменить 'sshd.yml'

pubkey_sshd
Vladimir Smagin 9 months ago
parent
commit
7d3dcbd3d6
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      sshd.yml

+ 5
- 0
sshd.yml View File

@@ -1,5 +1,10 @@
---
- name: Configure sshd
hosts: all
vars:
sshd_config_path: "/etc/ssh/sshd_config"
sshd_options:
PubkeyAuthentication: "yes"
PasswordAuthentication: "no"
roles:
- sshd

Loading…
Cancel
Save