Skip to content

SSH Access and Keys

eberrigan edited this page Jun 11, 2025 · 1 revision

SSH Access and PEM Key Handling

Key Generation

Terraform automatically creates an RSA key pair:

  • tls_private_key.lablink_key
  • Registered in AWS with aws_key_pair.lablink_key_pair

Accessing the Allocator

ssh -i ~/lablink-dev-key.pem ubuntu@<EC2_PUBLIC_IP>

Ensure your PEM file has correct permissions:

chmod 600 ~/lablink-dev-key.pem

Location in GitHub Actions

CI downloads the key from Terraform output and stores it as:

~/lablink-key.pem
Clone this wiki locally