sshkeyman-0.1.1 is not a library.
SSHKeyman
中文
一个基于 Web 的 SSH 密钥和配置管理工具,使用 Rust + Axum + Askama 构建。
功能
- 密钥管理 — 查看、生成(Ed25519 / RSA-4096)、删除 SSH 密钥
- 复制与导出 — 一键复制公钥到剪贴板,导入/导出密钥对为
.tar.gz - 配置管理 — 通过表单界面查看、编辑、删除
~/.ssh/config中的 Host 配置块 - 密钥关联 — 查看哪些 Host 配置引用了指定密钥
- 原始编辑 — 直接编辑 config 文件原始文本
- 全量备份 — 将整个
~/.ssh/(密钥 + 配置)打包备份或恢复 - 命令行参数 — 通过
--host、--port、--bind自定义监听地址
快速开始
浏览器打开 http://127.0.0.1:3000
命令行用法
构建
# 二进制文件位于 target/release/sshkeyman
技术栈
- 后端: Axum + Tokio
- 模板: Askama(服务端渲染)
- SSH 解析:
ssh-keycrate +ssh-keygen子进程 - 归档:
tar+flate2 - 命令行:
clap
许可证
MIT
English
A web-based SSH key and config manager, built with Rust + Axum + Askama.
Features
- Key Management — List, generate (Ed25519 / RSA-4096), delete SSH keys
- Copy & Export — One-click copy public key to clipboard, export/import key pairs as
.tar.gz - Config Management — View, edit, delete
~/.ssh/configHost blocks via form UI - Key-Config Association — See which Hosts reference a given key
- Raw Editor — Directly edit the raw config file text
- Full Backup — Backup and restore entire
~/.ssh/(keys + config) as.tar.gz - CLI Options — Customizable listen address via
--host,--port,--bind
Quick Start
Open http://127.0.0.1:3000 in your browser.
CLI Usage
Build
# binary at target/release/sshkeyman
Tech Stack
- Backend: Axum + Tokio
- Templates: Askama (server-side rendered)
- SSH Parsing:
ssh-keycrate,ssh-keygensubprocess - Archive:
tar+flate2 - CLI:
clap
License
MIT