Skip to content

Releases: ccxdev/opssh

v1.0.0

05 Dec 08:56

Choose a tag to compare

🎉 Initial Release - v1.0.0

opssh is a CLI tool that simplifies managing SSH key profiles for 1Password's SSH agent. No more manually editing configuration files!

✨ Features

Profile Management

  • Add profiles - Store multiple SSH key profiles (personal, work, etc.) with an interactive setup
  • List profiles - View all configured profiles with the active one clearly marked
  • Switch profiles - Quickly switch between profiles with a single command
  • Show current profile - Display the currently active SSH key profile
  • Remove profiles - Clean up profiles you no longer need

Configuration

  • Simple YAML-based configuration stored in ~/.opssh.yaml
  • Automatically manages ~/.config/1Password/ssh/agent.toml
  • Custom config file path support via --config flag
  • Verbose output mode with --verbose flag

🚀 Quick Start

Install

go install github.com/ccxdev/opssh@latest

Add your first profile

opssh add work

Switch to it

opssh switch work

Check current profile

opssh current

📋 Commands

  • opssh add <profile-name> - Add a new SSH key profile
  • opssh list - List all configured profiles
  • opssh switch <profile-name> - Switch to a different profile
  • opssh current - Show the currently active profile
  • opssh remove <profile-name> - Remove a profile

🔗 Links

📄 License

MIT License - see LICENSE for details.