PrintMotd directives fails to display the /etc/motd file content when UseLogin is enabled.
Created attachment 900 [details] Patch for PrintMotd directive when uselogin is enabled The attached Patch calls do_motd() once utmp recording is completed in do_pre_login() in session.c. This solves the problem in HP-UX.
UseLogin is deprecated in OpenSSH 7.4
closing resolved bugs as of 8.6p1 release