When you have logged to your machine through ssh, this is what you will always see after each successful access:
Last login: Tue Jun 3 13:17:35 2008 from 10.20.20.171
[user@server ~]$
You can have additional message displayed like this, by using message of teh day (motd):
Last login: Wed Jun 4 14:59:13 2008 from 10.20.20.241
This is a my server!!!!!!
[user@server ~]$
Here are the steps to do it:
- Open /etc/motd using your favorite text editor. I will use vi
- vi /etc/motd
- Append your message to the file and save
- This is a my server!!!!!!
- Then, when this will be displayed when you access your machine again
- Last login: Wed Jun 4 14:59:13 2008 from 10.20.20.241
This is a my server!!!!!!
[user@server ~]$
No comments:
Post a Comment