LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   hide ssh banner (https://www.linuxquestions.org/questions/linux-security-4/hide-ssh-banner-445651/)

shafey 05-17-2006 06:25 AM

hide ssh banner
 
Hi
how could i hide ssh banner coz it print ssh version
am running centos 4
i need to hide my ssh version
plz help
thanks

tizzef 05-17-2006 08:50 AM

it might be in the sshd_config (/etc/sshd_config) at the of the file.

unSpawn 05-17-2006 04:45 PM

i need to hide my ssh version
OpenSSH sshd minimal "banner" is necessary for negotiation. Hiding sshd's banner is not a "fix". If you disagree you should explain in detail what the "problem" is and why you think banner hiding is a "fix".

liefde 04-14-2013 05:59 PM

adblockplus ;-)
 
Your ssh banner before login is set in /etc/ssh/sshd_config , so in sshd_config you can set it to say
Code:

Banner none
Furthermore, after succesful login, the ssh linux splash you see is usually configured via /etc/pam.d/sshd and/or /etc/pam.d/login
In those two files, look for the line that says
Code:

session optional pam_motd.so
and comment it out:
Code:

# session optional pam_motd.so
then of course save, close, reload.

If you ask me, those banners are a complete waste of valuable screen-space (and time). First thing I kick out with a new openssh installation.


All times are GMT -5. The time now is 01:06 AM.