mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
match user soqemussh for ssh config. allow for user edits to not be overwritten in ssh config.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Host *
|
||||
Match user soqemussh
|
||||
IdentityFile /etc/ssh/auth_keys/soqemussh/id_ed25519
|
||||
|
||||
@@ -16,10 +16,17 @@
|
||||
|
||||
{% if GLOBALS.is_manager %}
|
||||
|
||||
qemu_ssh_client_config:
|
||||
file.managed:
|
||||
root_ssh_config:
|
||||
file.touch:
|
||||
- name: /root/.ssh/config
|
||||
|
||||
qemu_ssh_client_config:
|
||||
file.blockreplace:
|
||||
- name: /root/.ssh/config
|
||||
- marker_start: "# START of block managed by Salt - soqemussh config"
|
||||
- marker_end: "# END of block managed by Salt - soqemussh config"
|
||||
- source: salt://libvirt/ssh/files/config
|
||||
- prepend_if_not_found: True
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user