It’s very simple to create a welcome-note for SSH server by adding a text file in ‘/etc/ssh/’ location In that file we can add the content as welcome-note.Here are the steps as given below:
Step 1: Create the text file which contains your welcome note under ‘/etc/ssh/’ location.
cd /etc/ssh/ touch welcome.txt echo ":::Hai, Welcome to cpanelplesk's SSH:::" > welcome.txt cat welcome.txt :::Welcome to cpanelplesk:::
Step 2: Now add the Banner file details in your SSH configuration file:
ssh conf file : /etc/ssh/sshd_config nano /etc/ssh/sshd_config ----- #Banner none Banner /etc/ssh/welcome.txt
– Step 3: Restart the SSH daemon:
service sshd restart Or /etc/init.d/sshd restart
Try to ssh you will get the welcome note
ssh 192.168.0.... :::Hai, Welcome to cpanelplesk::: [email protected] password:
That’s all we have to do.