15 lines
793 B
Markdown
15 lines
793 B
Markdown
|
|
# VyOS ASCII banner generator
|
||
|
|
|
||
|
|
A simple Python script that creates a ```set system login banner``` command for setting a nice looking ACII like banner.
|
||
|
|
|
||
|
|
To generate the ASCII image go to [ASCII Art Archive](https://www.asciiart.eu/image-to-ascii) and put your image there. I recommend using **Code Page 437** as **ASCII gradient** because, in my opinion, it looks nice.
|
||
|
|
|
||
|
|
Then copy the ASCII art and save it in a file called ```VyOSart.txt``` in the same folder as the Python file(s).
|
||
|
|
|
||
|
|
### Use ```ASCII_Gen_PRE.py``` to get the command for pre-login command.
|
||
|
|
|
||
|
|
Pre-login means that it will show up before SSH asks for password/key password
|
||
|
|
|
||
|
|
### Use ```ASCII_Gen_POST.py``` to get the command for post-login command.
|
||
|
|
|
||
|
|
Post-login will show the ASCII art *after* succesfully logging in as a user.
|