Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 4930
Display a message when logging in through SSH
If you have ever wanted to display a message to your users when the log in through ssh, you just need to edit a couple of files. The first one is:

vi /etc/motd

This file has the text that will be displayed when an authorized user logs in through SSH. The next change we need to make is to the SSH configuration file, which tell it to display the MOTD (message of the day). The file can be found here, on a CentOS 5 system:

vi /etc/ssh/sshd_config

Look for the line containing PrintMotd an
Author: UltratechHost - Replies: 0 - Views: 4740
Display a message to a user when logging in through SSH
If you have ever wanted to display a message to your users when the log in through ssh, you just need to edit a couple of files. The first one is:

Code:
vim /etc/motd

This file has the text that will be displayed when an authorized user logs in through SSH. The next change we need to make is to the SSH configuration file, which tell it to display the MOTD (message of the day). The file can be found here, on a CentOS 5 system:

Code:
vim /etc/ssh/sshd_config

Look for t