0

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

1
  • logins in via ssl? Or ssh?
    – Zoredache
    Nov 4, 2009 at 0:22

4 Answers 4

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.

2
  • 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, 2009 at 0:37
  • 1
    Probably pulling from /etc/motd
    – MattyB
    Nov 4, 2009 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .