| Crates.io | ssh-portkey |
| lib.rs | ssh-portkey |
| version | 0.1.1 |
| created_at | 2025-09-02 04:00:23.00516+00 |
| updated_at | 2025-09-02 04:00:23.00516+00 |
| description | Secure SSH credential manager with a fast ratatui-based TUI, fuzzy search, and encrypted vault |
| homepage | https://github.com/randomradio/portkey |
| repository | https://github.com/randomradio/portkey |
| max_upload_size | |
| id | 1820592 |
| size | 97,773 |
"I solemnly swear I am up to no good... with server management"
Like the Marauder's Map from Harry Potter, Portkey is your magical gateway to instantly teleport between servers without memorizing passwords. One master spell (password) unlocks a hidden world of secure SSH connections, transforming the mundane task of server management into an enchanting experience.
Imagine having a magical map that reveals all your servers at once, and with a simple incantation, whoosh โ you're instantly connected. Portkey is that map, but for SSH connections. Instead of fumbling with cryptic incantations (passwords), you speak one master spell and gain access to your entire server kingdom.
๐งโโ๏ธ The Magic Behind the Spell:
./portkey init # Cast the creation spell
# Enter your master password - this becomes your magical key
./portkey add # Reveal new servers to your map
# Name: production-web
# Host: 192.168.1.100
# Password: โขโขโขโขโขโขโขโข
# Description: The castle's main gate
./portkey quick # TUI (ratatui) with fuzzy search
# Type to filter, โ/โ to select, โต to connect, q to quit
# ๐ช *Poof* - You're connected!
./portkey search web # Fuzzy search across names/hosts/users/descriptions
./portkey search prod
# Preview entries to add to ~/.ssh/config
./portkey ssh-config
# Append entries directly to ~/.ssh/config
./portkey ssh-config --write
| Spell | Effect |
|---|---|
init |
Creation Charm - Forge your magical vault |
add |
Revelation Spell - Add new servers to your map |
quick |
Apparition - Instant teleportation to any server |
list |
Marauder's Map - View all accessible servers |
search |
Point Me - Find servers by keyword |
remove |
Obliviate - Banish servers from your map |
cargo install ssh-portkey # installs the portkey binarybrew tap your-org/tapbrew install portkeyNote: On first use, you may want to install sshpass for password-based SSH, or preferably set up SSH keys.
# โก Install (via cargo)
cargo install ssh-portkey
# ๐ช Create your vault (choose your master spell)
./portkey init
# ๐บ๏ธ Add your first server
./portkey add
# โจ Launch the TUI
./portkey
You're the keeper of a vast digital castle with dozens of towers (servers). Instead of memorizing the secret password to each tower, you have one master key that opens them all. Walk through your kingdom with ease!
Juggle multiple environments like a true wizard. Production, staging, development - all accessible with a flick of your terminal wand. No more "Accio production server!" followed by frantic password hunting.
Search your entire infrastructure like you're using the Marauder's Map. "I solemnly swear I need to find all web servers" - and there they are, revealed in all their glory.
# Basic Spells
./portkey init # Create your magical vault
./portkey add # Add a new server to your map
./portkey list # View all enchanted servers
./portkey quick # Interactive teleportation
./portkey connect web01 # Direct teleport to specific server
./portkey search web # Find servers by magic keyword
./portkey remove web01 # Remove server from your map
# Advanced Sorcery
./portkey debug # Reveal vault diagnostics
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Portkey Spell Book โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ Crypto: SecretBox + Argon2id โ
โ ๐๏ธ Storage: Encrypted JSON vault โ
โ ๐ Search: Fuzzy matching across all โ
โ ๐ SSH: Password-based authentication โ
โ ๐จ CLI: Enchanted interactive prompts โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
When you type a password, Portkey performs an ancient ritual:
| Your Role | Portkey's Magic |
|---|---|
| System Admin | One ring to rule them all |
| DevOps Wizard | Teleportation mastery |
| Security Mage | Fort Knox for passwords |
| Productivity Sorcerer | Zero-friction connections |
Before Portkey:
โ "What's the password for prod-web-03 again?"
โ Searching through spreadsheets of credentials
โ Copy-pasting passwords like a Muggle
โ Managing 47 different SSH keys
After Portkey:
โ
One password, unlimited access
โ
Magical server discovery
โ
Instant teleportation
โ
Secure, encrypted storage
โ
"Accio server!" actually works
"Mischief managed." - Every DevOps wizard using Portkey
git clone <repository>
cd portkey
./install.sh
./portkey init
May your connections be swift and your servers ever responsive.