[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing SSH's welcome message (before login)



Hello!

2010/2/17 Nuno Magalhães <nunomagalhaes@eu.ipp.pt>:
> If i telnet (or use a browser!) to my sshd, i get this string:
> SSH-2.0-OpenSSH_5.1p1 Debian-5
> even before i login.
>
> My /etc/motd is empty and i've also tried adding a "Banner
> /etc/ssh/banner" line to /etc/ssh/sshd_config (nd creating the
> according empty file), and HUPing sshd. I still get this line.
>
> I'm sure this is something obvious but i can't seem to pin it down;
> short of messing with the code is there a way to remove this message?

Put this line into your sshd_config:

VersionAddendum AnyString-19540331

You have to restart sshd or reboot your computer and not kill -HUP
your sshd. After that you should see "SSH-2.0-OpenSSH_5.1p1
AnyString-19540331".

Bye,
a


Reply to: