CMDCommand · run as root on the server · ssh family
urbestack-ssh-key-add
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-ssh-key-add --user NAME [--label TEXT] --key-stdinDescription
From the command's --help outputAdds an SSH public key to a customer's list. Specify --key-stdin and pass one public key line on standard input in ssh-keygen format. Include the key type, the key data and an optional comment. Omit authorized_keys options. UrbeStack rejects DSA keys and checks the public key with ssh-keygen -l. A label supplied with --label must be 1 to 64 printable ASCII characters. If --label is omitted or empty, UrbeStack uses the printable ASCII text of the key's comment, up to 64 characters, or the key type if the comment yields no label. Each customer can keep up to ssh_keys_max keys, which defaults to 20. UrbeStack rejects a key whose fingerprint is already on that customer's list. UrbeStack updates the customer's file under ssh_keys_dir immediately. sshd reads it alongside .ssh/authorized_keys in the customer's home directory.Usage: urbestack-ssh-key-add --user NAME [--label TEXT] --key-stdin Adds an SSH public key to a customer's list. Specify --key-stdin and pass one public key line on standard input in ssh-keygen format. Include the key type, the key data and an optional comment. Omit authorized_keys options. UrbeStack rejects DSA keys and checks the public key with ssh-keygen -l. A label supplied with --label must be 1 to 64 printable ASCII characters. If --label is omitted or empty, UrbeStack uses the printable ASCII text of the key's comment, up to 64 characters, or the key type if the comment yields no label. Each customer can keep up to ssh_keys_max keys, which defaults to 20. UrbeStack rejects a key whose fingerprint is already on that customer's list. UrbeStack updates the customer's file under ssh_keys_dir immediately. sshd reads it alongside .ssh/authorized_keys in the customer's home directory.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-ssh-key-add --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-ssh-key-add/