blob: 73315aa0effcc19785b8658e43e82e3e5b89e1d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
{% if users[item] == 'jumponly' %}
{% for key in userdata[item].authorized_keys %}
restrict,command="echo 'This account can only be used for ProxyJump (ssh -J)'",port-forwarding {{ key }}
{% endfor %}
{% else %}
{% for key in userdata[item].authorized_keys %}
{{ key }}
{% endfor %}
{% endif %}
|