I have a situation where it would be useful to display a message to users when they push
or pull
or fetch
from the command line from our internally hosted Github Enterprise service. After some googling, I saw instances of folks wanting to disable the MOTD from appearing, and there was one suggestion about how to add an /etc/banner
and add that to /etc/ssh/sshd_config
.
The /etc/banner
does show up when ssh
ing into the server, but it doesn't show up for any git-ssh
operations.