← 返回命令列表

Linux command

kr 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Pair with phone

kr pair

Show paired devices

kr devices

Generate SSH key

kr generate --email [email@example.com]

Add public key to server

kr add [user@host]

Remove pairing

kr unpair

说明

kr is the command-line interface for Krypton, a system that stores SSH and GPG private keys on a paired smartphone rather than on the computer. By keeping private keys on a separate device, Krypton provides a form of two-factor authentication for SSH connections: each login attempt triggers a push notification on the phone that must be approved before the connection proceeds. The CLI handles pairing with the Krypton mobile app, generating keys on the phone, and copying the corresponding public key to remote servers. Once configured, kr integrates transparently with the local SSH agent so that standard ssh commands work without modification. The Krypton project has been deprecated, but the CLI and its architecture influenced later approaches to hardware-backed SSH key management.

参数

pair
Pair with Krypton phone app.
devices
List paired devices.
generate
Generate SSH key on phone.
add _HOST_
Add key to host.
unpair
Remove device pairing.
--help
Display help information.

FAQ

What is the kr command used for?

kr is the command-line interface for Krypton, a system that stores SSH and GPG private keys on a paired smartphone rather than on the computer. By keeping private keys on a separate device, Krypton provides a form of two-factor authentication for SSH connections: each login attempt triggers a push notification on the phone that must be approved before the connection proceeds. The CLI handles pairing with the Krypton mobile app, generating keys on the phone, and copying the corresponding public key to remote servers. Once configured, kr integrates transparently with the local SSH agent so that standard ssh commands work without modification. The Krypton project has been deprecated, but the CLI and its architecture influenced later approaches to hardware-backed SSH key management.

How do I run a basic kr example?

Run `kr pair` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does pair do in kr?

Pair with Krypton phone app.