Linux command
zerotier-idtool 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Generate new identity
zerotier-idtool generate [identity.secret]
Get public identity from secret
zerotier-idtool getpublic [identity.secret]
Sign a file
zerotier-idtool sign [identity.secret] [file]
Verify signature
zerotier-idtool verify [identity.public] [file] [signature]
Show identity address
zerotier-idtool info [identity.secret]
说明
zerotier-idtool manages ZeroTier cryptographic identities. Identities consist of a secret key (kept private) and a public key that derives the 10-digit ZeroTier address. The tool can generate new identities, extract public keys, and perform cryptographic operations like signing and verification. This is useful for backup, migration, and creating custom network infrastructure. Identities are automatically generated when zerotier-one first starts, stored in the ZeroTier home directory (typically /var/lib/zerotier-one/). For advanced users, the tool supports creating "moons" - custom root servers for private ZeroTier infrastructure.
FAQ
What is the zerotier-idtool command used for?
zerotier-idtool manages ZeroTier cryptographic identities. Identities consist of a secret key (kept private) and a public key that derives the 10-digit ZeroTier address. The tool can generate new identities, extract public keys, and perform cryptographic operations like signing and verification. This is useful for backup, migration, and creating custom network infrastructure. Identities are automatically generated when zerotier-one first starts, stored in the ZeroTier home directory (typically /var/lib/zerotier-one/). For advanced users, the tool supports creating "moons" - custom root servers for private ZeroTier infrastructure.
How do I run a basic zerotier-idtool example?
Run `zerotier-idtool generate [identity.secret]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more zerotier-idtool examples?
This page includes 5 examples for zerotier-idtool, plus related commands for nearby Linux tasks.