I would like to check the version of openssl without having to log in to each server and typing
Edit: I didn't notice you were asking for openssl, not openssh.
If you put the remote host data in a file hosts like
you can use
cat hosts | xargs -I % sh -c 'printf "%: " ; ssh % openssl version'
And, as @jww commented, this would be rather a question for SuperUser