WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Login Banner

    Linux
    1
    1
    8
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by DerMeldos

      1. Edit the /etc/ssh/sshd_config file.
      nano /etc/ssh/sshd_config
      
      1. Add/edit config option
      Banner /etc/ssh/banner_motd_login
      
      1. Make sure you create a new file called /etc/ssh/banner_motd_login.
      nano /etc/ssh/banner_motd_login
      
      1. Restart sshd
      systemctl restart sshd
      

      Banner Example:

                       THIS DEVICE IS PART OF A         
                           PRIVATE  NETWORK              
      
      
      	##########################################
      	##      ARISTA0202  DCS-7050S-52-F      ##
      	##          WEIGEL  NETWORKING          ##
      	##  Unauthorized access is prohibited.  ##
      	##########################################
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors