Warp (wp)
Overview
The Warp spell provides an elegant solution for managing and connecting to SSH sessions. It handles key generation, session management, and quick connections to remote servers.
Features
- SSH session management
- RSA key generation
- Session aliases
- Key management
- Interactive interface
Requirements
- Python packages:
click
, paramiko
, cryptography
Installation
Usage
Session Storage
Sessions are stored in ~/.sanctum/.circle
SSH keys are stored in ~/.sanctum/keys/
Command Options
- No arguments: Interactive session menu
- With alias: Direct connection attempt
- 'E': Edit existing sessions
- 'A': Add new session
- 'Q': Quit the spell
Examples
Interactive Session
Direct Connection
Add New Session
cast wp
> A
> Enter alias: dev-server
> Enter host: example.com
> Enter username: developer
Key Management Options
- Generate new RSA key pair (G)
- Use existing private key (P)
- No key authentication (N)
Session Management
- List all sessions
- Add new sessions
- Delete sessions
- Edit existing sessions
- Quick connect
Security Features
- RSA key generation
- Key-based authentication
- Secure key storage
- Password fallback
- Protected session data
Common Use Cases
- Development servers
- Cloud instances
- Remote administration
- Multiple server management
- Quick server access
Best Practices
- Use descriptive aliases
- Generate unique keys
- Regular session cleanup
- Secure key storage
- Document connections
Technical Details
- 2048-bit RSA keys
- Automated key deployment
- Session state persistence
- Multi-platform support
- Concurrent session support
Notes
- Keys are stored locally
- Sessions persist between uses
- Password fallback available
- Interactive session management
- Supports multiple identities