0

I was just wondering on CentOs how can I change the 'greeting' that the server output when a user logs in via ssh?

  • logins in via ssl? Or ssh? – Zoredache Nov 4 '09 at 0:22
3

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.

1

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 – Yaniv Nov 4 '09 at 0:37
  • 1
    Probably pulling from /etc/motd – MattyB Nov 4 '09 at 0:43
1

Check out also

Banner /etc/issue.net

inside /etc/ssh/sshd_config: with this you can also display messages before login completes.

0

/etc/motd is the file you are looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.