ssh-keyscan

Get the public ssh keys of remote hosts. More information: <https://man.openbsd.org/ssh-keyscan>.

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
Arch Arch Linux
RUN pacman -S --noconfirm openssh
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-keyscan on any operating system with command-not-found.com