Task: Diagnose and Fix SSH "Permission denied (publickey)" for AWS EC2
Task: Diagnose and Fix SSH "Permission denied (publickey)" for AWS EC2: a task in Terminal-Lego-15k (Harbor dataset). You are given a simulated environment where an SSH connection to an AWS EC2 instance fails with Permission denied (publickey) . Your task is to write a diagnostic and remediation…
The task
You are given a simulated environment where an SSH connection to an AWS EC2 instance fails with `Permission denied (publickey)`. Your task is to write a diagnostic and remediation script that identifies common causes of this error and produces a comprehensive troubleshooting guide with corrected commands.
Part of PrimeIntellect/Terminal-Lego-15k.