Skip to content

Sysadmin papilusion ssh banner 19 06 2012

Yannouk edited this page Jul 5, 2012 · 1 revision

Session

  • user : root
  • host : papilusion.reverse.seizam.com
  • date : 06/19/12 09:12
  • curpath : /home/yannouk

Commands

  • Edit /etc/ssh/ssh-banner, see [1]
  • Edit /etc/ssh/sshd_config, see [2]
 [email protected]# /etc/init.d/ssh reload

Files

[1]\* Edit /etc/ssh/ssh-banner

--- old	2012-06-19 09:13:11.000000000 +0000
+++ new	2012-06-19 09:13:26.000000000 +0000
@@ -0,0 +1,27 @@
+                                     _awXVSoa,              
+                                    a"`-^<vavX$a.           
+                                  .J`     -~{zl*Aa,         
+                                  d`         ~!*o3$c        
+                                 j'             ]zl3g,      
+                     .as,.       Z               "5uI$c     
+                      !noS,     )f .anYSw,         "hlVa    
+                        -"S>    ][_Zlaua%$,         +ki3L   
+                          -4c   ];3o!~-^?u[          -1zdc  
+             <si=_,.        S;  ](m'     ]f            4z$, 
+auqonsi_,,   "{l*??Ya,      -X, ](2      )[             5%m 
+Wie    -+""i_,.     -"Ss     )o -[1      ]`             -v$;
+4zi         .~"<=,.    "5,    3> 1]      v               {d(
+-mvs    ._auuwaa,%"<_,   ?s   -6 ]v.     (               )D 
+ )m3c   jSvq!` --""=%|<,. )a  .3c;1oas,,)'              _2` 
+  )q%a  4uvS         -~<l<,)a%^-'-$QQQQm2s            .%!   
+   -$2n, ~!1ma,.        -+%u"      ?$QQQQ+L         .ada,   
+     4w2s,   -""""=i,____ jmc        "?"^ ]          -!oVw. 
+      -4w1s,        ..-^~)QQQc            2  __,       -5I6 
+        "4oes.           -QQQQ.   __jC   )(|v( "s       -h3L
+          -?Xos,.         "HWE   -??"   :> <]:  -c       jvm
+             "Yqqa,,        -"<<,i__c    <_/)(   ].      js#
+                -"?TYSvIvws        )"<,      C   =(    _uCqf
+                         ?pn,    __=ia|_,    )c  .F"3XXXo2" 
+                          "5Xs, :c.   --~"+s%`"c.<'         
+                            "YZoi;^+<_,,. ..<( -~`          
+                              -"SXoa,,==<E~--               

[2]\* Edit /etc/ssh/sshd_config

--- old	2012-06-19 09:13:42.000000000 +0000
+++ new	2012-06-19 09:14:19.000000000 +0000
@@ -70,2 +70,3 @@
 #Banner /etc/issue.net
+Banner /etc/ssh/ssh-banner
 
Clone this wiki locally