sshterminalconfigurationhardware

How to get a distant computer's configuration using ssh and terminal?


I need to get the hardware specifications on a distant computer to which I have access through ssh. How can I get this distant computer's hardware (and software) configuration using ssh and terminal?

thanks


Solution

  • The distant machine is on linux?

    If yes:

    Connect through ssh via: ssh user@ip

    And type one of these commands in terminal (depending of distributions).

    $ lshw # list hardware units
    $ hwinfo # list hardware components
    $ lscpu # list cpu and processing units
    $ lspci  # pci buses and details about the devices connected to them