Hide Forgot
+++ This bug was initially created as a clone of Bug #1033228 +++ Description of problem: Currently, the only way to change the message shown when a user ssh's to a gear is to change the block in /usr/bin/rhcsh. However, when updates occur, any changes made to this file are overwritten. The request is to add a configuration file for the ssh message that will be marked as a configuration file in the rpm spec. This way, it will not be overwritten Version-Release number of selected component (if applicable): 2.0 How reproducible: Always Steps to Reproduce: 1. Change the message in /usr/bin/rhcsh 2. Update Actual results: The message is back to the default Expected results: The message remains as changed.
Have tested it, and its not a bug. When I was looking at the /usr/bin/rhcsh I found out that the message can be edited at the /etc/openshift/node.conf, on the node, where you can add the MOTD_FILE from which the MOTD should be taken. https://github.com/openshift/origin-server/blob/master/node/conf/node.conf#L48 Will create an trello card to create a man page on the node.conf so there wont be any further misunderstandings.
Closing this one because its not a bug.