ssh-copy-id

Install your public key in a remote machine's authorized_keys. More information: <https://manned.org/ssh-copy-id>.

Debian Debian
RUN apt-get update && \ apt-get install -y openssh-client
Ubuntu
RUN apt-get update && \ apt-get install -y openssh-client
Alpine
RUN apk add openssh-client
Arch Arch Linux
RUN pacman -S --noconfirm ssh-copy-id
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y openssh-client
CentOS
RUN yum install -y openssh-clients
Fedora
RUN dnf install -y openssh-clients
Raspbian
RUN apt-get update && \ apt-get install -y openssh-client
click the source code to copy install ssh-copy-id on any operating system with command-not-found.com