How to display a ASCII message after SSH login on linux

 

 

How to display a ASCII message after SSH login on linux

 

 

Display a ASCII Message After SSH Login

 

Sometimes when you want to provide remote access to your system via SSH, you want to display a customized message on the terminal for the remotely logged-in user. In this tutorial, I will show you how to display a custom ASCII text and text message upon SSH login to your Linux server.



Requirement

 

You need to have installed SSH



Let's Displaying a Message

 

For displaying a ASCII text or normal text in linux or any other distro ,you will to perform the following steps:


Step 1 :- First you need to open a MOTD or create a file on your system with the COMMAND shown below.



┌──(hackerboy㉿KumarAtulJaiswal)-[~]
└─$ sudo nano /etc/motd
┌──(hackerboy㉿KumarAtulJaiswal)-[~]
└─$


How to display a ASCII message after SSH login on linux




and once this file is created or open (as you can see i have already this file in our linux system ), you can type in any messages or ASCII text as of your choice just like we did. After that, you can save this file and exit.


ASCII Creator - CLICK HERE



How to display a ASCII message after SSH login on linux




Step 2 :- Check your system IP

Step 3 :- Log into your machine through SSH to Display the message.


You need to log into your machine through SSH by executing the following command. You can either run this command on your own machine’s terminal or you can even use any other machine on the same network for serving the very same purpose.




┌──(hackerboy㉿KumarAtulJaiswal)-[~]
└─$ sudo su
KumarAtulJaiswal# ssh hackerboy@192.168.43.152
hackerboy@192.168.43.152's password:
Linux KumarAtulJaiswal 5.10.0-kali8-amd64 #1 SMP Debian 5.10.40-1kali1 (2021-05-31) x86_64

The programs included with the Kali GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

WELCOME TO
██ ██ █████ ██████ ██ ██ ██ ███ ██ ██████ ████████ ██████ ██ ██ ████████ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███████ ███████ ██ █████ ██ ██ ██ ██ ██ ███ ██ ██████ ██ ██ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██████ ██ ██ ██ ██ ████ ██████ ██ ██ ██ ██████ ██ ██ ██
www.hackingtruth.in




You have new mail.
Last login: Sun Jul 11 20:07:56 2021 from 192.168.43.152
┏━(Message from Kali developers)

┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/

┃ We have kept /usr/bin/python pointing to Python 2 for backwards
┃ compatibility. Learn how to change this and avoid this message:
┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/

┗━(Run: “touch ~/.hushlogin” to hide this message)
┌──(hackerboy㉿KumarAtulJaiswal)-[~]
└─$


How to display a ASCII message after SSH login on linux




Disclaimer

 

All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.



  - Hacking Truth by Kumar Atul Jaiswal


Post a Comment

Previous Post Next Post

Contact Form