In this tutorial i will show you how to use Ascii art image as a linux welcome message in both /etc/motd and /etc/issue
First we need to have Bahubali text as an Ascii art which will be better than normal text, for this i will be using a utility called Figlet which is a graphic text generator, Figlet is a text to ascii art conversion can make your welcome screen much nicer by having several feature and different output types. It's one funny linux command!
Download Figlet the graphic text generator
Automatically
First download figlet for which matches your Linux Distro. from 'https://pkgs.org/download/figlet'
Now install Figlet using:
rpm -i package_name.rpm
Now you can test Figlet big font generator
Figlet bahubali 2
Now you can copy the ascii art image and use it as Linux login message 'ssh login message'
vi /etc/motd
paste the ascii art here
What is motd ?
This is the message of the day, the content of this file will appear after successful ssh login.
Also you can use the generated ascii text as a ssh welcome message by editing the etc issue file.
vi /etc/issue
paste the ascii art here
Activate the ssh banner
vi /etc/ssh/sshd_config
add
Banner /etc/issue
Save /etc/issue file
On RHEL 7
systemctl restart sshd
On RHEL 5/6
service sshd restart
You can use sites like ascii-art to find also ascii art image for your Linux login message.
In questa pagina del sito puoi guardare il video online Linux Tutorial : Bahubali Ascii Art Image SSH Banner as Linux Welcome Message della durata di ore minuti seconda in buona qualità , che l'utente ha caricato DotsWay 10 maggio 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 12,741 volte e gli è piaciuto 122 spettatori. Buona visione!