sshcopyid
ssh-copy-id is a utility that ships with the OpenSSH suite and is used to install a local public key on a remote system’s authorized_keys file. By placing your public key on the remote host, you can enable passwordless SSH login for that account, provided the remote server is configured to allow public key authentication.
How it works: ssh-copy-id connects to the remote host via SSH, creates the remote .ssh directory if
Typical usage: ssh-copy-id [options] [user@]host. By default it copies the user’s default public key (for example
Notes: The remote account must permit key-based authentication, and file permissions on the remote side must