I was just wondering on CentOs how can I change the 'greeting' that the server output when a user logs in via ssh?
4 Answers
Perhaps you are looking to update the content that is part of the Message of the Day (MOTD). I believe this is /etc/motd on Centos.
I assume you mean ssh.
Modify /etc/issue as root to put whatever text you wish.
-
silly me :) yeah i meant ssh, but /etc/issue contains only the centos release version.. and when i log in i get more details about the packagers and last login info and so on– YanivNov 4, 2009 at 0:37
-
1
Check out also
Banner /etc/issue.net
inside /etc/ssh/sshd_config: with this you can also display messages before login completes.