ssh-copy-id
ssh-copy-id is a Linux command in the SSH & Remote category, rated advanced difficulty. Copys your SSH public key to a remote machine for passwordless login. The syntax is ssh-copy-id [options] user@host. Key options and parameters: user@host — remote server. It returns public key installed. A practical example: ssh-copy-id user@host ssh-copy-id -i ~/.ssh/custom.pub user@host # Use specific key ssh-copy-id -p 2222 user@host A close relative is ssh, which secure Shell client — connects to remote machines securely. A close relative is scp, which securely copies files between hosts over SSH. A close relative is rsync, which fast file syncing tool that transfers only differences. More about this category: Linux SSH and remote commands — ssh, scp, rsync, sftp, and more. Connect to and transfer files between remote systems. Related SSH & Remote commands: ssh, scp, rsync, sftp, ssh-keygen, ssh-add, ssh-agent, ssh-keyscan.