carta
ssh-facts(1)

ssh-facts1

Usage

ssh-facts [user@] hostname

Overview

get some facts about the remote system

For further processing of the data
you can use standard shell tools like awk, grep, sed
or convert it to JSON with jo and then feed it to jq

Examples

ssh-facts 127.0.0.1
ssh-facts 127.0.0.1 | grep ^OS_VERSION | awk -F'=' '{ print $2 }'
ssh-facts 127.0.0.1 | jo -p
ssh-facts 127.0.0.1 | jo | jq
ssh-facts 127.0.0.1 | jo | jq .OS_VERSION

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

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