From 751d9d0ea103f922531a7ec6bb6eea547f5f55da Mon Sep 17 00:00:00 2001 From: Jason Kincl Date: Wed, 1 May 2024 17:27:54 -0400 Subject: [PATCH] move ssh config to ssh_config.d/ dir --- cloudformation.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudformation.yaml b/cloudformation.yaml index 43982a6..73ae62d 100644 --- a/cloudformation.yaml +++ b/cloudformation.yaml @@ -671,11 +671,10 @@ Resources: unzip -q -d /tmp /tmp/awscliv2.zip && rm -f /tmp/awscliv2.zip && /tmp/aws/install && rm -rf /tmp/aws # Disable the "do you trust this SSH host" messages - cat << EOF >> /home/lab-user/.ssh/config + cat << EOF >> /etc/ssh/ssh_config.d/01-disco-workshop.conf Host * StrictHostKeyChecking false EOF - chown -v lab-user:lab-user /home/lab-user/.ssh/config # Setup VNC yum -y install "@GNOME" firefox tigervnc-server