Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.18 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.18 KB

openwrt-ssh

configure general aspects of your openwrt ssh. see: [https://wiki.openwrt.org/doc/howto/dropbear.public-key.auth]

Dependencies

Role Variables

variable name type default
port port as number 22
password_auth boolean True
root_password_auth boolean True
authorized_keys array of strings Array of ssh authorized keys

Example Playbook

- role: openwrt-ssh
  port: 22
  password_auth: True
  root_password_auth: True
  authorized_keys:
    - 'ssh-rsa AsLni1gBzlYKyjM0Ho...4bXURWWQoZAAyic9diM user@computer'

Official documentation: