Automic VaultAutomic Vault

brew

ssh-copy-id を Homebrew, Nix, winget でインストール

ssh-copy-id のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install ssh-copy-id

local Homebrew formula metadata

Windows

Windows Package Manager確認済み · 92%
winget install --id axeprpr.SSHCopyID -e

Windows Package Manager source index · axeprpr.SSHCopyID · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Add a public key to a remote machine's authorized_keys file

コマンドとエイリアス

  • ssh-copy-id

履歴

プロジェクトの歴史と使われ方

ssh-copy-id is the small OpenSSH-adjacent shell utility that installs a user's public SSH key into a remote account's authorized_keys file.

プロジェクトの歴史

OpenSSH itself began in 1999 when OpenBSD developers forked the free SSH 1.2.12/OSSH lineage, cleaned up licensing and portability issues, and shipped OpenSSH 1.2.2 with OpenBSD 2.6 on December 1, 1999. The portable OpenSSH tree was split out almost immediately for Linux and other Unix systems.

The ssh-copy-id script in the OpenSSH portable repository carries Philip Hands copyright from 1999 onward and describes itself as a shell script to install public keys on a remote machine. Over time it gained contributions for options such as force mode, dry-run mode, SFTP mode, alternate target paths, SSH config files, and port handling.

採用の歴史

ssh-copy-id became common Unix CLI glue because it automates the manual public-key setup described by ssh documentation: place a public key in the remote user's authorized_keys file. Homebrew packages it separately from the main OpenSSH formula for macOS users, while the input facts also list Nix and winget package names.

使われ方

The usual workflow is to run ssh-copy-id [-i identity_file] [user@]host. The script selects public keys from ssh-agent or from ${HOME}/.ssh/id*.pub, checks which keys are not already accepted, and appends the selected public keys to the remote .ssh/authorized_keys path unless a different target path is requested.

パッケージ好きにとっての重要性

ssh-copy-id is package-manager folklore: a tiny shell script that saves users from remembering the exact ssh, mkdir, chmod, and cat incantation for public-key login setup. It is also a reminder that small contrib utilities can become first-class packages when operating systems omit them or users want them independently.

タイムライン

  • 1999: OpenSSH project began and OpenSSH 1.2.2 shipped with OpenBSD 2.6.
  • 1999: ssh-copy-id copyright begins with Philip Hands in the portable script.
  • 2014: openssh/openssh-portable mirror repository created on GitHub.
  • 2026: Homebrew formula tracks OpenSSH portable 10.3p1 for ssh-copy-id.

Related projects

  • Related commands and files include ssh, ssh-keygen, ssh-agent, ssh-add, sshd, OpenSSH portable, ${HOME}/.ssh/id*.pub, and .ssh/authorized_keys.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:ssh

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
${HOME}/.ssh/id*.pub${HOME}/.ssh/id*.ssh/authorized_keys

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ssh-copy-idcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版10.4p1
マネージャ更新日2026-07-06
ローカルデータOK
上流not checked
検出された最新未検出

https://www.openssh.com/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ssh-copy-id
バージョン10.4p1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ssh-copy-id
ホームページhttps://www.openssh.com/
リポジトリhttps://github.com/openssh/openssh-portable
上流ドキュメントhttps://github.com/openssh/openssh-portable#readme
ライセンスSSH-OpenSSH
ソースアーカイブhttps://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-10.4p1.tar.gz
最終更新2026-07-06T18:10:51Z
Pulseupdated
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namessh-copy-id
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

ssh-copy-id

nix profile install nixpkgs#ssh-copy-id
  • normalized package name match
  • 一致条件: Ssh Copy ID
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ssh-copy-id from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
winget95%

axeprpr.SSHCopyID

winget install --id axeprpr.SSHCopyID -e
  • normalized package name match
  • 一致条件: Ssh Copy ID
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: axeprpr.SSHCopyID from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment