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
- rclone
Rsync for cloud storage go sync cli ftp webdav sftp cloud-storage s3 rsync - clipboard
Cut, copy, and paste anything, anywhere, all from the terminal clipboard - clippy
Copy files from your terminal that actually paste into GUI apps clipboard clipboard-manager productivity utility - qrsync
Utility to copy files over WiFi to/from mobile devices inside a terminal using QR codes. - Kitty Kattis Cli
A fast, feature-rich, GPU based terminal emulator. cli kattis kattis - wsl-terminal
Terminal emulator for Windows Subsystem for Linux (WSL) - Eternal Terminal
Eternal Terminal (Windows package; no description in the winget index) ssh terminal tmux mosh remote-shell - Ctrl-V Terminal
Ctrl-V Terminal (Windows package; no description in the winget index) ssh remote-access terminal sysadmin sftp vnc scp
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents