[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing motd from ssh logins



Marco De Vitis wrote:
>> Place the file .hushlogin into the homedir of the remote user.
> 
> Uhm, thanks, it works, but I'd prefer doing it "the right way"...

If you use pam (grep UsePAM /etc/ssh/sshd_config) then you might want
to disable printing of the motd in /etc/pam.d/ssh. Look for a line like

    session    optional     pam_motd.so

and comment it out.

HTH,
Tobias



Reply to: