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
6/2/2026
Claude Code
#ssh-keys#authentication#agentuity#cli

Recommended for

Automated summary

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

How this analysis is made

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 |

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/add-ssh-public-key-to-account-mm8o520z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/add-ssh-public-key-to-account-mm8o520z/download' --output '.skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md.part' && mv '.skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md.part' '.skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(agentuity:*)

Original excerpt: Prerequisites
  • Authenticated with agentuity auth login

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md' && test -s '.skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/agentuity-cli-auth-ssh-add' && cp -R '.skill-downloads/add-ssh-public-key-to-account-mm8o520z' '.claude/skills/agentuity-cli-auth-ssh-add'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/add-ssh-public-key-to-account-mm8o520z'

openskills read 'add-ssh-public-key-to-account-mm8o520z'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/add-ssh-public-key-to-account-mm8o520z/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills