check the remote system for os information. first use md5sum, if that fails, use the perl variant