step ssh check-host
step ssh check-host -- checks if a certificate has been issued for a host
step ssh check-host <hostname> [--ca-url=<uri>] [--root=<file>] [--offline] [--ca-config=<path>]
step ssh check-host checks if a certificate has been issued for a host.
This command returns a zero exit status then the server exists, it will return 1 otherwise.
The hostname of the server to check.
URI of the targeted Step Certificate Authority.
The path to the PEM
file used as the root certificate authority.
--offline Creates a certificate without contacting the certificate authority. Offline mode uses the configuration, certificates, and keys created with step ca init, but can accept a different configuration file using --ca-config flag.
path to the certificate authority configuration file. Defaults to
Check that internal.example.com exists:
$ step ssh check-host internal.smallstep.com