Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Figlet use     - Use Spring cache and ehcache (Programming)

- To remove those IP is prohibited Fail2ban on CentOS 6/7 (Server)

- Android HTTP request with Get Information (Programming)

- stat - Get more information than ls (Linux)

- Ubuntu Learning Advanced article - to teach you to further enhance system security (Linux)

- OpenStack Folsom create an instance of the failure of the Quota Fixed_IP articles (Server)

- Java interface (Programming)

- Ubuntu 14.04 install Nmap 6.46.1 (Linux)

- How to configure Proftpd server on Fedora 22 (Server)

- Using FTPClient to upload and download files in Java (Programming)

- When Vim create Python scripts, vim autocomplete interpreter and encoding method (Programming)

- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Ubuntu (Linux)

- The multiplexed signal driving IO (Programming)

- A new method for Linux hidden files (Linux)

- Oracle 11g user rights management study notes (Database)

- Install Unity 8 preview version of the desktop in Ubuntu (Linux)

- Computer security perimeter recommendations (Linux)

- How to Install lightweight Budgie desktop on Ubuntu 14.04 (v8) (Linux)

- Ubuntu mysql stop fail to solve the problem (Database)

- Easily create RPM packages using the FPM (Linux)

 
         
  Figlet use
     
  Add Date : 2017-04-13      
         
       
         
  Unix under a really fun tool called banner

The Red Hat-based distributions do not have this command, we can use the tools in place figlet, after downloaded, copied to / usr / local / src directory, and then take the following actions:

[Root @ DB2 ~] # wget ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz

[Root @ DB2 ~] # cp figlet-2.2.5.tar.gz / usr / local / src /

[Root @ DB2 ~] # cd / usr / local / src /

[Root @ DB2 src] # tar zxf figlet-2.2.5.tar.gz

[Root @ DB2 src] # cd figlet-2.2.5

[Root @ DB2 figlet-2.2.5] # make figlet

[Root @ DB2 figlet-2.2.5] # ./figlet WELCOME -f fonts / standard.flf

_______ __ _ ____ ___ __ __ _____

\ \ / / ____ | | / ___ / _ \ | \ / | ____ |

 \ \ / \ / / | _ | | | | | | | | | | \ / | | _ |

  \ V V / | | ___ | | __ | | __ | | _ | | | | | | ___

  \ _ / \ _ / | _____ | _____ \ ____ \ ___ / | _ | | _ | _____ |

This may actually have what use is it? Linux host you may manage more usually worry about ssh into the error log on to the host computer, it can take advantage of this title, when entering the host reminder, oh good.

Proceed as follows:

1. Generate characters, and then copy it:

[Root @ DB2 figlet-2.2.5] # ./figlet WELCOME TO DB2 -f fonts / standard.flf

_______ __ _ ____ ___ __ __ ___ ____ ____ ____ _____ _____

\ \ / / ____ | | / ___ / _ \ | \ / | ____ | | _ _ / _ \ | _ \ | __) ___ \

 \ \ / \ / / | _ | | | | | | | | | | \ / | | _ | | || | | | | | | | _ \ __) |

  \ V V / | | ___ | | __ | | __ | | _ | | | | | | ___ | || | _ | | | | _ | | | _) / __ /

  \ _ / \ _ / | _____ | _____ \ ____ \ ___ / | _ | | _ | _____ | | _ | \ ___ / | ____ / | ____ / _____ |

                                                                             

2. The above pasted in large characters saved. (May not be new, paste it directly into / etc / issue)

[Root @ DB2 figlet-2.2.5] # cat < < EOF> / etc / ssh / ssh-banner

> __ _____ _ ____ ___ __ __ ___ ____ ____ ____ _____ _____

> \ \ / / ____ | | / ___ / _ \ | \ / | ____ | | _ _ / _ \ | _ \ | __) ___ \

> \ \ / \ / / | _ | | | | | | | | | | \ / | | _ | | || | | | | | | | _ \ __) |

> \ V V / | | ___ | | __ | | __ | | _ | | | | | | ___ | || | _ | | | | _ | | | _) / __ /

> \ _ / \ _ / | _____ | _____ \ ____ \ ___ / | _ | | _ | _____ | | _ | \ ___ / | ____ / | ____ / _____ |

> EOF

 


3.vim / etc / ssh / sshd_config, the #Banner none line modified as follows:

[Root @ DB2 figlet-2.2.5] # grep -n 'no default banner path' / etc / ssh / sshd_config

128: # no default banner path

[Root @ DB2 figlet-2.2.5] # vim +128 / etc / ssh / sshd_config

# No default banner path

Banner / etc / ssh / ssh-banner

#Banner None

(Or / etc / issue)

[Root @ DB2 figlet-2.2.5] # /etc/init.d/sshd restart

Stopping sshd: [OK]

Starting sshd: [OK]

4. The re-opening session login
     
         
       
         
  More:      
 
- Using Vagrant create cross-platform development environment (Linux)
- Scope of variables in Object-C (Programming)
- Ubuntu: HDF5 error: HDF5 header version does not match with the HDF5 library (Linux)
- How to install the Linux text editor Atom 0.124.0 (Linux)
- Install VLC player on Ubuntu 14.10 (Linux)
- Diagnose and resolve the SSH connection slow (Linux)
- Java filter (Programming)
- Oracle to create an external table (Database)
- A list of the basics of Python, Ganso, Dictionary (Programming)
- Swift string common method (Programming)
- Debian 7.8 system installation and configuration process (Linux)
- SVN common commands (Linux)
- RabbitMQ user roles and access control (Linux)
- Ubuntu Tutorial - Manually install Oracle Java JDK 8 (Linux)
- Debian SSD ext4 4K aligned (Linux)
- DRBD-based installation and configuration of CentOS 6.5 (Server)
- Internal class broadcasting needs public and static (Programming)
- Kubernetes resolve application deployment model (Server)
- ORA-04091 and Compound Trigger (Oracle 11g) (Database)
- PostgreSQL Select source code analysis (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.