Serious Bug Report: OpenSSH

Michael Helm helm at
Wed Dec 8 04:26:38 EST 1999

Ben Taylor writes:
> works and I'm in the middle of cleaning up the patch.  Solaris for
> some reason ends up printing MOTD twice, but I think I can just
> turn off MOTD in the config file.

That's what we've done in ssh-1.2.x on solaris; 
in sshd_config: PrintMotd no

/bin/login executes /etc/profile or /etc/.login, depending on your
default shell, before your account's own shell startup files.
By default those scripts cat /etc/motd.

More information about the openssh-unix-dev mailing list