---
name: "ssh-certinfo"
section: "1"
platform: "linux"
package: "ssh-tools"
version: "1.9-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ssh-certinfo"
---

# ssh-certinfo(1)

## NAME

ssh-certinfo

## SYNOPSIS

ssh-certinfo \[OPTIONS\] CERT-FILE \[...\]

## DESCRIPTION

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
