AGENT SKILL

ssh-setup-profile

Use when user provides server IP/username and wants reusable SSH access with safe credential handling for future Codex sessions.

License 许可
MIT
最近更新
2026-03-30
Stars
★ 2
Forks
0

01 前言 Front Matter

name
ssh-setup-profile
description
Use when user provides server IP/username and wants reusable SSH access with safe credential handling for future Codex sessions.

03 SKILL.md 正文

SSH Profile Setup

Create or update named SSH host aliases in ~/.ssh/config so Codex can reuse server access safely.

Security Policy (Mandatory)

  • Never store plaintext passwords in plugin files, repository files, or committed config.
  • Use SSH key authentication by default.
  • Default to non-root user access; use sudo only when required.

If a user asks to persist root passwords, decline plaintext storage and offer key-based setup.

Inputs Required

  • alias (example: prod-eu)
  • host / IP
  • user (non-root recommended)
  • port (default 22)
  • identity_file path (private key)

Recommended ~/.ssh/config Block

Host <alias>
  HostName <ip-or-hostname>
  User <username>
  Port <port>
  IdentityFile <absolute-path-to-key>
  IdentitiesOnly yes
  PubkeyAuthentication yes
  PreferredAuthentications publickey
  ServerAliveInterval 30
  ServerAliveCountMax 3

Validation Workflow

  1. Validate local key permissions (chmod 600 for private key if needed).
  2. Validate config resolution:
ssh -G <alias>
  1. Connectivity smoke test:
ssh <alias> 'echo ssh_ok'
  1. Record known-host fingerprint by first successful connection.

Multi-Profile Guidance

Use named aliases per environment:

  • staging-us
  • prod-eu
  • ops-backup

Always execute commands via alias, not raw IP.

04 同仓库更多 Skills

NagyVikt
NagyVikt/codex-plugins

workflow

Vercel Workflow DevKit (WDK) expert guidance. Use when building durable workflows, long-running tasks, API routes or agents that need pause/resume, retries, step-based execution, or crash-safe orchestration with Vercel Workflow.

★ 2
NagyVikt
NagyVikt/codex-plugins

verification

Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-storage

Vercel storage expert guidance — Blob, Edge Config, and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-services

Vercel Services — deploy multiple services within a single Vercel project. Use for monorepo layouts or when combining a backend (Python, Go) with a frontend (Next.js, Vite) in one deployment.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-sandbox

Vercel Sandbox guidance — ephemeral Firecracker microVMs for running untrusted code safely. Supports AI agents, code generation, and experimentation. Use when executing user-generated or AI-generated code in isolation.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-queues

Vercel Queues guidance (public beta) — durable event streaming with topics, consumer groups, retries, and delayed delivery. $0.60/1M ops. Powers Workflow DevKit. Use when building async processing, fan-out patterns, or event-driven architectures.

★ 2