ssh-certinfo(1)

ssh-certinfo1

Usage

ssh-certinfo [OPTIONS] CERT-FILE []

Overview

shows validity and information of SSH certificates

Options

-c

show colors

-h

show this message

-w days

warning threshold (default: 30)

-v

verbose output

--version

show version information

Examples

# Default
ssh-certinfo ~/.ssh/id_rsa-cert.pub
ssh-certinfo ~/.ssh/*.pub
# Certificates which expire within the next 2 months (colored output):
ssh-certinfo -c -w 60 ~/.ssh/id_rsa-cert.pub
ssh-certinfo -c -w 60 ~/.ssh/*.pub

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

--version since Debian 13 (Trixie).

From ssh-tools 1.9-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.