Con ssh puede ejecutar el script en un sistema remoto y reenviar su salida a su máquina segura local:
ssh regularuser@inesecure.host "/path/to/the/script/on/remotehost.sh" > /file/on/your/local/system.txt
Возможно, вам придется установить его вручную. Вот страница lshw на github:https://github.com/lyonel/lshw