Task: Diagnose and Fix SSH Timeout Issues to an EC2 Instance
Task: Diagnose and Fix SSH Timeout Issues to an EC2 Instance: a task in Terminal-Lego-15k (Harbor dataset). Your task is to create a diagnostic and remediation toolkit (a set of shell scripts) that addresses the common reasons for SSH timeouts to EC2 instances, with a focus on memory-related issues.
Part of PrimeIntellect/Terminal-Lego-15k.