Skip to content
Snippets Groups Projects
Commit dbc8bf09 authored by Stephane Armanet's avatar Stephane Armanet
Browse files

add ssh user filtering in variable

parent 91d6b6de
No related branches found
No related tags found
No related merge requests found
Pipeline #20882 passed
...@@ -10,6 +10,9 @@ sophos_install_opts: "--update-free --acceptlicence --autostart=true --enableOnB ...@@ -10,6 +10,9 @@ sophos_install_opts: "--update-free --acceptlicence --autostart=true --enableOnB
sophos_install_extra_opts: "" sophos_install_extra_opts: ""
# PSS vars # PSS vars
pss_nas_ssh_allowusers:
- csi@172.16.50.11
- csi@pss-bastion-01.tn.esss.lu.se
pss_nas_software_repo_url: https://artifactory.esss.lu.se/artifactory/list/PSS-Softwares/ pss_nas_software_repo_url: https://artifactory.esss.lu.se/artifactory/list/PSS-Softwares/
pss_nas_software_files: pss_nas_software_files:
- test.zip - test.zip
......
...@@ -16,4 +16,4 @@ AcceptEnv XMODIFIERS ...@@ -16,4 +16,4 @@ AcceptEnv XMODIFIERS
Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp /usr/libexec/openssh/sftp-server
Match User csi Match User csi
PasswordAuthentication no PasswordAuthentication no
AllowUsers csi@172.16.50.11 csi@pss-bastion-01.tn.esss.lu.se AllowUsers {% for user in pss_nas_ssh_allowusers %} {{user}} {% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment