π 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
--configflag - Verbose output mode with
--verboseflag
π Quick Start
Install
go install github.com/ccxdev/opssh@latestAdd your first profile
opssh add workSwitch to it
opssh switch workCheck current profile
opssh currentπ Commands
opssh add <profile-name>- Add a new SSH key profileopssh list- List all configured profilesopssh switch <profile-name>- Switch to a different profileopssh current- Show the currently active profileopssh remove <profile-name>- Remove a profile
π Links
π License
MIT License - see LICENSE for details.