On Debian Wheezy the default openssh server package displays the motd from /etc/motd.
When i compile it from source (openssh-6.0p1) it won't display the motd anymore after an ssh login.
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-md5-passwords --with-kerberos5 --with-selinux --with-privsep-path=/var/run/sshd
- UsePAM yes is enabled
- No configs have been overwritten. Only the sshd binary.
- pam_motd.so is loaded in the sshd process
- source is from ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
- source from apt-get source openssh works and displays the motd. It was compiled with the same configure arguments.
Which source parts are responsible for that difference?
This also applies to my Ubuntu machine.
Thanks in advance!