logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

ssh-facts - get some facts about the remote system

Description

       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

SSH-TOOLS                                          March 2024                                       SSH-FACTS(1)

Name

       ssh-facts - get some facts about the remote system

Synopsis

       ssh-facts [user@]hostname

See Also