Here is How To Add Hewlett-Packard Company Official Logo on HP Helion Public Cloud on Ubuntu 14.04 LTS Instance. The HP Logo is an ASCII Art. Previously, we have discussed about ASCII Arts and some websites which offer tools for ASCII Arts. We have discussed about How to Add SSH Message Before Login and to make you understand the Pre-Login and Post-Login Things – we published two guides – Change SSH Welcome Message and How To Add Colorful SSH Welcome Message. This guide is NOT for adding a Colored HP Cloud ASCII Logo on SSH Pre-Login on Ubuntu 14.04 LTS, this is for adding a Non-Colored / Default Colored HP Logo on SSH screen, when you type
ssh -i your.pem ubuntu@your-floating-IP. Adding color is not easy on Ubuntu 14.04.01 LTS after ShellShock Fix.
HP Cloud ASCII Logo on SSH Pre-Login : Legal
I can not officially say – do not read this paragraph, go to the next sub-header. You can definitely use on HP Cloud’s server instances for personal usage. But, if you have an unofficial reseller service – mind it – you can not use without Hewlett-Packard Company’s permission. You might not use it on Rackspace.
HP Cloud ASCII Logo on SSH Pre-Login (HP Cloud, Ubuntu) : Steps
In other words, it is basically for using on HP Helion Public Cloud or HP manufactured computers. I forgot what I was writing. Oh. yes, login via SSH to your HP Helion Public Cloud Instance and
ubuntu and run
sudo su command to get root access. If you are facing sudo : sudo: unable to resolve host HP, then you should
pay a Tax towards Richard M. Stallman and Linus Trovalis read the linked free article.
# edit this file with this command
# find the phrase
# Banner /etc/issue.net
# with O + W
# remove that hash before it and save the file with
# ^ + O and exit with ^ + X
# remove the default Ubuntu version text
# copy paste things
# restart sshd
sudo service ssh restart
# exit and login
# you became ubuntu from root
ssh -i your.pem ubuntu@your-IP
Practically 3-4 steps. It became sadly big due to legal stuffs. Here is the HP Logo as ASCII Art on GitHub.
HP ASCII Logo on localhost : Running Shebang (.sh) Script
There is a readymade Shebang script in official blue color :
Copy paste or curl, wget – whatever do with that project’s
hp.sh file. Run these commands :
chmod +x hp.sh
That was actually expected as HP Cloud ASCII Logo on SSH Pre-Login Screen, but Ubuntu 14.04 LTS has problems. It is difficult to give color in Ubuntu now. There was a thing named ShellSchock vulnerability, during patching that and pathing OpenStack (probably), it has become non executable. You are running with bash shell. We said there are lot of types of unix shells.
getty handles it. Balls of
getty has been Medico-Legally cut, so banging is not possible with Shebang script.
Follow the Author of this article :