Important
This tool is still in the PROTOTYPE phase. Expect breaking changes. It is not recommended for use in production environments.
A utility for unpacking SSH keys and generating SSH/rclone configurations from Proton Pass and Teleport.
| Guide | Description |
|---|---|
| Proton Pass | Extract SSH keys from Proton Pass to local files |
| Teleport | Import Teleport nodes for rclone access |
- Interactive mode: Menu-driven interface when run without arguments
- Cross-platform: Works on Linux, macOS, and Windows
- Automatic SSH config generation: Creates host entries with aliases
- Machine-specific keys: Filter keys by hostname suffix (e.g.,
github/my-laptop) - Incremental updates: Only processes changed items by default
- Rclone integration: Automatically creates SFTP remotes for each SSH host
- Wildcard filtering: Filter vaults and items using glob patterns
- Progress indicators: Visual feedback with spinners and progress bars
- Encrypted rclone config: Supports encrypted rclone configs with password from Proton Pass
- Teleport support: Import Teleport nodes as rclone-compatible items
- Proton Pass CLI (
pass-cli) - OpenSSH (
ssh-keygen) - rclone (optional, for SFTP remote sync)
- Teleport CLI (
tsh) (optional, for--from-tsh)
From crates.io
cargo install pass-ssh-unpackgit clone https://github.com/Frosthaven/pass-ssh-unpack.git
cd pass-ssh-unpack
cargo build --release
# Binary will be at ./target/release/pass-ssh-unpack# Linux/macOS
sudo cp target/release/pass-ssh-unpack /usr/local/bin/
# Or symlink
ln -s "$(pwd)/target/release/pass-ssh-unpack" ~/.local/bin/pass-ssh-unpackRun without arguments for a menu-driven interface:
pass-ssh-unpackThe interactive menu provides options to:
- Export Proton Pass SSH keys to local machine
- Import Teleport nodes into Proton Pass
- View current status (managed keys, remotes, locations)
- Purge managed resources
Extract SSH keys and generate configs:
# From all vaults
pass-ssh-unpack
# From specific vault
pass-ssh-unpack --vault Personal
# Preview changes
pass-ssh-unpack --dry-runSee the Proton Pass Guide for full documentation.
Import Teleport nodes for rclone access:
# Import nodes to a vault
pass-ssh-unpack --from-tsh --vault "Teleport Servers"
# Then generate rclone remotes
pass-ssh-unpack --rcloneSee the Teleport Guide for full documentation.
MIT License - see LICENSE for details.