Forrest logo
tool overview
On this page you find all important commands for the CLI tool ssh-copy-id. If the command you are looking for is missing please ask our AI.

ssh-copy-id

ssh-copy-id installs an SSH key on a server as an authorized key. Its purpose is to provide access without requiring a password for each login. This facilitates automated, passwordless logins and single sign-on using the SSH protocol.

List of commands for ssh-copy-id:

  • ssh:authorized-keys:remote:add This command copies your public key to the `authorized_keys` file on the remote host.
    $ ssh-copy-id user@host
    try on your machine
    explain this command
  • ssh:tldr:454a7 ssh: Copy your keys to the remote machine.
    $ ssh-copy-id ${username@remote_host}
    try on your machine
    explain this command
  • ssh:tldr:4b38f ssh: Copy the given public key to the remote.
    $ ssh-copy-id -i ${path-to-certificate} ${username}@${remote_host}
    try on your machine
    explain this command
  • ssh:tldr:90674 ssh: Copy the given public key to the remote with specific port.
    $ ssh-copy-id -i ${path-to-certificate} -p ${port} ${username}@${remote_host}
    try on your machine
    explain this command
tool overview