Add SSH Public Key to Account

VerifiedSafe

This skill adds an SSH public key to your account by reading from a file or stdin. Use it to authenticate with Agentuity services or manage deployment keys. Requires prior login with `agentuity auth login`.

Sby Skills Guide Bot
DevOpsIntermediate
1306/2/2026
Claude Code
#ssh-keys#authentication#agentuity#cli

Recommended for

Our review

Adds an SSH public key to your Agentuity account from a file or standard input.

Strengths

  • Enables SSH key authentication for deployments
  • Supports multiple key formats (RSA, Ed25519)
  • Can read keys from file or stdin
  • Returns detailed output including fingerprint and key type

Limitations

  • Requires prior authentication via agentuity auth login
  • Does not generate keys
  • Slow operation (tagged slow)
When to use it

When you need to associate an existing SSH public key with your Agentuity account for secure deployments.

When not to use it

If you haven't generated an SSH key pair yet, or if you are using other authentication methods like personal access tokens.

Security analysis

Safe
Quality score90/100

The skill provides instructions for adding an SSH public key via the agentuity CLI, requiring authentication. No destructive or exfiltrating actions are described; allowed tools are restricted to agentuity namespace, posing no meaningful risk.

No concerns found

Examples

Add SSH key from default file
Add my SSH public key from ~/.ssh/id_ed25519.pub to my Agentuity account.
Add deploy key
Add the deploy key from ./deploy_key.pub to my Agentuity account.
Add SSH key interactively (stdin)
Add the SSH public key that I'm about to pipe to you to my Agentuity account.

name: agentuity-cli-auth-ssh-add description: Add an SSH public key to your account (reads from file or stdin). Requires authentication. Use for managing authentication credentials version: "0.1.24" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" metadata: command: "agentuity auth ssh add" tags: "mutating creates-resource slow requires-auth uses-stdin"

Auth Ssh Add

Add an SSH public key to your account (reads from file or stdin)

Prerequisites

  • Authenticated with agentuity auth login

Usage

agentuity auth ssh add [options]

Options

| Option | Type | Required | Default | Description | |--------|------|----------|---------|-------------| | --file | string | Yes | - | File containing the public key |

Examples

Add SSH key interactively:

bunx @agentuity/cli auth ssh add

Add SSH key from file:

bunx @agentuity/cli auth ssh add --file ~/.ssh/id_ed25519.pub

Add deploy key from file:

bunx @agentuity/cli auth ssh add --file ./deploy_key.pub

Add SSH key from stdin:

cat ~/.ssh/id_rsa.pub | bunx @agentuity/cli auth ssh add

Output

Returns JSON object:

{
  "success": "boolean",
  "fingerprint": "string",
  "keyType": "string",
  "added": "number"
}

| Field | Type | Description | |-------|------|-------------| | success | boolean | Whether the operation succeeded | | fingerprint | string | SSH key fingerprint | | keyType | string | SSH key type (e.g., ssh-rsa, ssh-ed25519) | | added | number | Number of keys added |

Related skills