I've scoured this website and the OpenSSL wiki pages, and done numerous internet searches, and I've come to the seemingly incredible conclusion that one cannot generate an ECDH shared secret key using a given public key and a given private key from the openssl command line. There is at least one other post on this web site that claims you can, without providing an example.
I know the wiki does provide 'C' code examples, but my use case is such that having the command line capability would've been much preferred.
If anyone can kindly disabuse me of this notion by providing an example, I would surely appreciate it.