Changing this message requires editing two different files. The first three sections can be modified by editing the following file:
/etc/motd
To disable the last login message (which I don’t recommend doing), you will need to edit the following file in sudo mode:
/etc/ssh/sshd_config
Find this line in the file and change the yes to no as shown:
PrintLastLog no
No comments:
Post a Comment