rpm -qV openssh-server I will get a list of files that have changed compared to default.
~$ rpm -qV openssh-server S.?....T. c /etc/ssh/sshd_config ~$
dpkg on Ubuntu do the same?
I don't thinks so, in Ubuntu md5 checksums are only stored for certain files. For any given package the list of files that have checksums can be found in
These generally don't contain a complete list of the files that have been installed by a package e.g. openssh-server.md5sums
You can use the debsums command (sudo apt-get install debsums) to check the files that have md5 signatures
There is tool debsums you can check out.