fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:debian:disable-motd-ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:debian:disable-motd-ssh [2026/03/09 13:49] – created gsyslinux:debian:disable-motd-ssh [2026/05/08 21:32] (current) gsys
Line 13: Line 13:
 #session    optional     pam_motd.so noupdate #session    optional     pam_motd.so noupdate
 </code> </code>
 +
 +<code>
 +systemctl restart sshd.service
 +exit
 +exit
 +</code>
 +
 +
 +===== Lastlog not showing =====
 +
 +<code>
 +sudo touch /var/log/lastlog
 +sudo chgrp utmp /var/log/lastlog
 +sudo chmod 664 /var/log/lastlog
 +</code>
 +
linux/debian/disable-motd-ssh.1773060551.txt.gz · Last modified: by gsys