AptLynx

Command-line tool

ssh-copy-id

brew/ssh-copy-id

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Add a public key to a remote machine's authorized_keys file windows ssh terminal remote command-line ssh-keys authentication

At a glance

Type
Command-line tool
Install on
Windows, macOS
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id axeprpr.SSHCopyID -e

macOS

brew install ssh-copy-id

Copy your keys to the remote machine

ssh-copy-id username@remote_host

Copy the given public key to the remote

ssh-copy-id -i path/to/certificate username@remote_host

Copy the given public key to the remote with specific port

ssh-copy-id -i path/to/certificate -p port username@remote_host

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents