Right now, if you follow the advice in the README and configure shpool to immediately connect when you ssh into a remote machine, any MOTD (message of the day) will get hidden. To fix this, shpool should be able to read the MOTD and display it to users when first launching a shell or reconnecting.
I think this should be controlled with some new config options
mod_display_mode - { pager = "<cmd>" } | dump, controls how the MOTD is shown to the user. default { pager = "less" }motd - never | attach | new_session, controls when the MOTD is shown (never, whenever a user connects, or only for new shells). Initially will default to never, but will default to attach after a while.
This is a migration of the internal bug b/303261756
I've already started work on a tool to dump the motd over at github.com/shell-pool/motd
Right now, if you follow the advice in the README and configure shpool to immediately connect when you ssh into a remote machine, any MOTD (message of the day) will get hidden. To fix this, shpool should be able to read the MOTD and display it to users when first launching a shell or reconnecting.
I think this should be controlled with some new config options
mod_display_mode
-{ pager = "<cmd>" }
|dump
, controls how the MOTD is shown to the user. default{ pager = "less" }
motd
-never
|attach
|new_session
, controls when the MOTD is shown (never, whenever a user connects, or only for new shells). Initially will default tonever
, but will default toattach
after a while.This is a migration of the internal bug b/303261756
I've already started work on a tool to dump the motd over at github.com/shell-pool/motd