Smart login prompts - no complex authentication management
Basic node information display only
Remote-SSH integration to open new window
Fixed production cluster connection
Testing the Plugin
Prerequisites Check
Run the test script to verify your environment:
./test-plugin.sh
This will check:
✅ tsh CLI tool installation
✅ Teleport login status
✅ Node listing functionality
✅ VSCode availability
Manual Testing Steps
Prepare Environment
# Install dependencies and compile
npm install
npm run compile
# The plugin will handle login prompts automatically
# Production cluster: teleport.cybertron.modelbest.co
Launch Development Environment
# Open plugin directory in VSCode
code .
# Press F5 to launch Extension Development Host
# This opens a new VSCode window with the plugin loaded
Test Plugin Features
Look for "Teleport Nodes" view in Explorer panel
Click refresh button (🔄) to load nodes
Expand cluster to see nodes
Right-click on nodes to see context menu:
Connect: Opens SSH terminal session
Show Info: Displays node metadata
Verify Connection
Click "Connect" on any node
A new terminal should open with SSH session
Terminal name should be "SSH - {node-name}"
Troubleshooting
Plugin not showing up?
Check VSCode Output panel → "Teleport" for error messages
Verify compilation succeeded: npm run compile
Try reloading the Extension Development Host window
No nodes appearing?
Verify login: tsh status
Test node listing: tsh ls
Check plugin logs in Output panel
Connection fails?
Ensure node is accessible: tsh ssh node-name
Check terminal output for error messages
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes (auto-recompile)
npm run watch
# Run tests
npm test