Skip to content

feat: Add SSM Connect for EC2 instances#82

Merged
huseyinbabal merged 1 commit intomasterfrom
feature/ssm-connect
Jan 15, 2026
Merged

feat: Add SSM Connect for EC2 instances#82
huseyinbabal merged 1 commit intomasterfrom
feature/ssm-connect

Conversation

@huseyinbabal
Copy link
Owner

Summary

Fixes #69

Adds one-key SSM shell access to EC2 instances, similar to k9s pod shell feature.

Usage

  1. Navigate to EC2 instances view
  2. Select a running Linux instance
  3. Press c to connect
  4. Use the shell session
  5. Type exit to return to taws

Features

  • Validation: Checks instance is running before connecting
  • Windows blocking: Shows warning for Windows instances (shell not supported, use RDP)
  • Plugin check: Verifies session-manager-plugin is installed
  • Clean TUI handling: Suspends TUI, runs SSM session, restores TUI on exit

Requirements

Demo

# In taws EC2 view, press 'c' on a running instance:

>>> Connecting to i-0123456789abcdef via SSM...

sh-4.2$ whoami
ec2-user
sh-4.2$ exit

>>> Returning to taws... Press any key.

@huseyinbabal huseyinbabal force-pushed the feature/ssm-connect branch 6 times, most recently from 837d0c4 to 3eae093 Compare January 15, 2026 01:42
Fixes #69

Press 'c' on a running EC2 instance to open an interactive shell
session via AWS Systems Manager Session Manager.

Features:
- Validates instance is running before connecting
- Blocks Windows instances (shell not supported)
- Checks if session-manager-plugin is installed
- Suspends TUI, runs aws ssm start-session, then restores TUI
- Returns to taws after exiting the shell session

Requirements:
- session-manager-plugin must be installed
- Instance must have SSM Agent running
- Proper IAM permissions for ssm:StartSession
@huseyinbabal huseyinbabal merged commit bec0717 into master Jan 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Idea: Interactive Shell Access to EC2 via SSM (One-key connect)

1 participant