Questions tagged [motd]
13 questions
24
votes
2 answers
SSH MOTD per user
I want to display banner (welcome message) for SSH users with a specific welcome message for each user.

user260277
- 257
- 1
- 2
- 3
19
votes
4 answers
How do I edit the SSH "last login" message?
I would like to edit the Last login: information that is printed out along with the message of the day, yet I can't find the script which generates and echoes out.
Where is it defined, in an easy-to-edit shell script, or closed off in a…

IQAndreas
- 1,550
- 2
- 20
- 39
19
votes
4 answers
Is it possible to put commands in /etc/motd?
Can I put shell commands in the /etc/motd login banner file? I have tried:
$(uptime)
and
`uptime`
Is this possible?

Justin
- 5,328
- 19
- 64
- 84
13
votes
3 answers
How to configure the login message in Ubuntu?
Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this:
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-51-virtual x86_64)
* Documentation: …

Andres
- 239
- 1
- 4
- 9
8
votes
4 answers
There are two MOTD's shown when I login to my server using SSH
I wanted to change the MOTD that is shown when you login to a computer on a TTY, which seems to work, but somehow, it doesn't just show the MOTD in /etc/motd and /etc/update-motd.d/, but also another message.
This is shown when I login to my…

Sam van Kampen
- 183
- 1
- 1
- 5
4
votes
2 answers
How to disable Web Console and Red Hat Insights prompt on login to RHEL8 via SSH?
Whenever I log into my RHEL8 server via SSH, I get these lines printed:
Web console: https://:9090/ or https://:9090/
This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run:…

cyqsimon
- 255
- 2
- 10
3
votes
1 answer
Removing Ubuntu 18.04 motd
Anyone know exactly which package(s) to remove to git rid of all the login cruft on Ubuntu 18.04?
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-52-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: …

Server Fault
- 3,714
- 12
- 54
- 89
1
vote
2 answers
SSH Show motd without re-connect
As the title say I'm setting up the motd scripts for my server,
in the directory:
/etc/update-motd.d/
I want to see them without re-connect to ssh,
there is a command to display the ssh motd?

Emax
- 415
- 1
- 4
- 8
1
vote
0 answers
Identify mystery output on ssh login
How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well as PrintMotd. It seems that something is trying to…

FeatherKing
- 11
- 1
0
votes
0 answers
Unable/remove last login information from MOTD when login using a shell into Linux /Slackware 13.37/
I am configuring a Linux machine(Slackware 13.37) which should print some instructions right after user login. The user will login using a shell (keyboard and monitor connected directly with the Linux machine,not SSH) and I want to remove Last Login…

Alexander
- 1
- 2
0
votes
1 answer
Ubuntu Server 14.04.2 LTS: MOTD always displays the same packages to be updated
Since yesterday I always get this message when I log in via SSH:
2 packages can be updated.
0 updates are security updates.
There's nothing to be updated running apt-get update and apt-get upgrade:
sudo apt-get upgrade
Reading package lists...…
0
votes
1 answer
How to make a dynamic motd-module in Puppet?
We are using Puppet to generate our /etc/motd file. Unfortunately the hostnames do not always have the same length.
This creates a /etc/motd with sometimes a space too much or too little after the hostname.
…

ujjain
- 3,983
- 16
- 53
- 91
0
votes
0 answers
Is there any way to display a MOTD when running `git fetch` or `push` or `pull`?
I have a situation where it would be useful to display a message to users when they push or pull or fetch from the command line from our internally hosted Github Enterprise service. After some googling, I saw instances of folks wanting to disable…

Rob Fagen
- 9
- 1