- "-dropbear"
- openssh-server
- git
+ - sudo
openwrt_mixin:
# Go binaries
mode: '0755'
file: "{{ playbook_dir }}/files/tuer/authorized_keys.sh"
+ /usr/local/bin/update-keys-from-stdin.sh:
+ mode: '0755'
+ file: "{{ playbook_dir }}/files/tuer/update-keys-from-stdin.sh"
+
/etc/ssh/sshd_config:
content: |-
Port 22000
{{ key }}
{% endfor %}
+ /etc/ssh/authorized_keys.d/tuergit:
+ content: |-
+ {% for key in noc_ssh_keys %}
+ {{ key }}
+ {% endfor %}
+
openwrt_uci:
network:
- name: globals 'globals'
openwrt_users:
tuerd: {}
tuergit:
- home: /var/tuer
+ home: /home/tuergit
shell: /usr/bin/git-shell
tuerctl:
shell: /bin/false # TODO fixme