diff --git a/templates/ssh-key-options.j2 b/templates/ssh-key-options.j2 index 90c76c4..c139c9c 100644 --- a/templates/ssh-key-options.j2 +++ b/templates/ssh-key-options.j2 @@ -1 +1 @@ -no-agent-forwarding,no-port-forwarding,no-X11-forwarding,no-pty{% if monitored_ssh_key_wrapper %},command="{{ monitored_ssh_key_wrapper }}"{% endif %} \ No newline at end of file +no-agent-forwarding,no-port-forwarding,no-X11-forwarding,no-pty,from="{{ monitored_server_ips|join(",") }}"{% if monitored_ssh_key_wrapper %},command="{{ monitored_ssh_key_wrapper }}"{% endif %} \ No newline at end of file