remote side message banner

Setup Warning “Login Banner”

Banner is nothing just a warning message or displays some message about the device. If you try to login remote machine, you can set some message before login the device.

Check Out : SSH Password less login Using SSH Keygen

Create a file under /etc directory

vim /etc/myban

Type some authorised message here in this file

Go to /etc/ssh/sshd_config file to set this banner path.

Banner /etc/myban

Check Out : Create SSh Key

Restart the service of sshd

systemctl restart sshd

Now login remotely, You will see this message

You’re done

Sponsored

1 COMMENT

  1. That is very attention-grabbing, You are a very professional blogger.

    I have joined your rss feed and look forward to seeking extra of
    your wonderful post. Additionally, I’ve shared your site in my social networks

LEAVE A REPLY

Please enter your comment!
Please enter your name here

four × 4 =