ssh-facts(1)

get some facts about the remote system

Section 1 ssh-tools bookworm source

Description

SSH-FACTS

NAME

ssh-facts - get some facts about the remote system

DESCRIPTION

Usage: ssh-facts [user@]hostname

For further processing of the data you can use standard shell tools like awk, grep, sed or convert it to JSON with ’jo’ (command-line processor to output JSON from a shell) and feed it to ’jq’ (lightweight and flexible command-line JSON processor)

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