-   Linux - Security (
-   -   hide ssh banner (

shafey 05-17-2006 06:25 AM

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

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

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

session optional
and comment it out:

# session optional
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 03:49 AM.