From 843341ecca15d7dd932019cf7d2147c7869046d3 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Thu, 2 Nov 2023 10:45:28 -0400 Subject: Enabled SSH Subshell --- roles/custom-config/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/custom-config/tasks/main.yml b/roles/custom-config/tasks/main.yml index ec55f0e..832a64a 100644 --- a/roles/custom-config/tasks/main.yml +++ b/roles/custom-config/tasks/main.yml @@ -104,6 +104,13 @@ mode: '0640' loop: "{{ users.stdout_lines }}" +- name: Enable SSH Subshell + ansible.builtin.lineinfile: + path: /etc/ssh/ssh_config + state: present + insertafter: EOF + line: 'EnableEscapeCommandline=yes' + - name: Create /srv/smb/ directory for payload population ansible.builtin.file: path: /srv/smb -- cgit v1.2.3