ssh root@remote.host "rpm -qa" | xargs yum -y install