.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .TH SSH-FACTS "1" "February 2022" "SSH-TOOLS" "User Commands" .SH NAME ssh-facts \- get some facts about the remote system .SH DESCRIPTION .IP Usage: ssh\-facts [user@]hostname .IP 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) .IP Examples: .IP ssh\-facts 127.0.0.1 .IP ssh\-facts 127.0.0.1 | grep ^OS_VERSION | awk \fB\-F\fR'=' '{ print $2 }' .IP ssh\-facts 127.0.0.1 | jo \fB\-p\fR .IP ssh\-facts 127.0.0.1 | jo | jq .IP ssh\-facts 127.0.0.1 | jo | jq .OS_VERSION