made ssh motd OS dependent to solve double-motd problem