Base de connaissances

Creating a Welcome message for SSH logins  Imprimer cet article

Did you ever want to change or create a new login message antime someone logs into SSH? We'll show you how it's done.

First off login to our server as root. Then type in the following:
pico /etc/motd

Now type in the security login message you wish all users to see once they login to your server through SSH.
Try something like this as a start:

This computer system is for authorized users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are subject to having all their services revoked. Any illegal services run by user or attempts to take down this server or its services will be reported to local law enforcement, and said user will be punished to the full extent of the law. Anyone using this system consents to these terms.

Now type Ctrl+X then hit Y and enter

Logout of SSH then log back in, you will receive your new greeting!

Cette réponse était-elle pertinente?

Consultez aussi

Phishing - Protect your Identity and Finances
Phishing is the name given to an increasingly common type of spam (unsolicited emails) designed...
What are private nameservers and how do I set them up?
Private nameservers are where your domain points to our nameservers so that your customers do not...
How to install Subversion/SVN
wget ftp://oratoronline.com/how2/subversion/perl-URI-1.35-3.noarch.rpm rpm -i...
How to install ImageMagic
cd /usr/local/src wget http://oratoronline.com/how2/ImageMagick/ImageMagick-6.4.2-3.tar.gz (NOTE:...
How to install Zend Optimizer
How to Install Zend Optimizer/Encoder on cPanel/WHM Zend Optimiser is a PHP addon which offers...

Powered by WHMCompleteSolution