On 07/12/18 09:45, Ed Greshko wrote:
On 07/12/18 08:27, Tom Horsley wrote:
> I ssh into my fedora 28 system at work, I get this printed
> when I login:
>
> zooty> ssh -l tweety tomh8022
> --------------------------------------------------------------
> /etc/motd printed here
> --------------------------------------------------------------
> Last login: Wed Jul 11 20:21:39 2018 from 127.0.0.1
> --------------------------------------------------------------
> /etc/motd printed yet again here
> --------------------------------------------------------------
> tomh>
>
> Whyfor is it now printing /etc/motd twice?
Because there are 2 methods for printing motd.
Edit your /etc/ssh/sshd_config and change the PrintMotd from the default "yes"
to
"no" and/or read the notes in sshd_config.rpmnew which probably now exists
on your system.
Oh, forgot to mention the changelog for openssh-server
* Tue Jul 03 2018 Jakub Jelen <jjelen(a)redhat.com> - 7.7p1-5 + 0.10.3-4
- Disable manual printing of motd by default (#1591381)
--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.