step ssh hosts – returns a list of all valid hosts
step ssh hosts
step ssh hosts returns a list of valid hosts for SSH.
This command returns a zero exit status then the server exists, it will return 1 otherwise.
URIof the targeted Step Certificate Authority.
- The path to the PEM
fileused as the root certificate authority.
- 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.
pathto the certificate authority configuration file. Defaults to $STEPPATH/config/ca.json
Get a list of valid hosts for SSH:
$ step ssh hosts