add support to use monitoring via ssh
This commit is contained in:
parent
a47c5fd378
commit
84d56caed2
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
sshuser: []
|
||||
sshuser: {}
|
||||
rootpath: ''
|
||||
|
|
|
|||
|
|
@ -59,6 +59,6 @@ MaxAuthTries 10
|
|||
# add special rules for users defined in host variables
|
||||
|
||||
{% for i in sshuser %}
|
||||
Match User {{ i['user'] }}
|
||||
AuthorizedKeysFile {{ i['AuthorizedKeysFile'] }}
|
||||
Match User {{ i }}
|
||||
AuthorizedKeysFile {{ sshuser[i].AuthorizedKeysFile }}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue